HP-UX Reference (11i v1 00/12) - 3 Library Functions A-M (vol 6)

__________________________________________________________________________________________________________________________________________________________________________________________________
__________________________________________________________________________________________________________________________________________________________________________________________________
STANDARD Printed by: Nora Chuang [nchuang] STANDARD
/build/1111/BRICK/man3/!!!intro.3c
________________________________________________________________
___ ___
g
getlogin(3C) getlogin(3C)
[ERANGE] The length of the name to be returned, including the terminating null byte, exceeds
buflen.
FILES
/etc/utmp Database that maps user logins to terminals.
WARNINGS
Users of getlogin_r() should note getlogin_r() now conforms with the POSIX.1c Threads stan-
dard. The old prototype of getlogin_r() is supported for compatibility with existing DCE applications
only.
SEE ALSO
getuid(2), getgrent(3C), getpwent(3C), utmp(4).
STANDARDS CONFORMANCE
getlogin(): AES, SVID2, SVID3, XPG2, XPG3, XPG4, FIPS 151-2, POSIX.1
getlogin_r() :POSIX.1c
Section 3308 2 HP-UX Release 11i: December 2000
___
___