LOGNAME(3X) DOMAIN/IX 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 when invoked with the -lPW option.
NOTES
The return values point to static data whose content is
overwritten by each call.
FILES
/etc/profile default shell startup file
RELATED INFORMATION
env(1), login(1), profile(4), environ(5)
Printed 12/4/86 LOGNAME-1