RTEMS Logo

RTEMS 4.10.2 On-Line Library


Process Environment Manager getlogin - Get User Name

PREV UP NEXT Bookshelf RTEMS POSIX API User's Guide

3.4.10: getlogin - Get User Name

CALLING SEQUENCE:

char *getlogin( void );

STATUS CODES:

Returns a pointer to a string containing the name of the current user.

DESCRIPTION:

This routine returns the name of the current user.

NOTES:

This routine is not reentrant and subsequent calls to getlogin() will overwrite the same buffer.


PREV UP NEXT Bookshelf RTEMS POSIX API User's Guide

Copyright © 1988-2008 OAR Corporation