LOGNAME(3X) DOMAIN/IX Reference Manual (SYS5) LOGNAME(3X)
NAME
logname - return log-in name of user
USAGE
char *logname( )
DESCRIPTION
Logname returns a pointer to the null-terminated log-in
name; it extracts the $LOGNAME variable from the user's
environment. This routine is kept in the library
``/usr/lib/libPW.a". The link editor ld(1) will search this
library under the -lPW option.
NOTES
The return values point to static data whose content is
overwritten by each call.
FILES
/etc/profile
RELATED INFORMATION
env(1), login(1), profile(4), environ(5)
Printed 5/10/85 LOGNAME-1