Annotation of researchv10dc/man/man3/getlogin.3, revision 1.1.1.1

1.1       root        1: .TH GETLOGIN 3
                      2: .CT 2 secur
                      3: .SH NAME
                      4: getlogin \(mi get login name
                      5: .SH SYNOPSIS
                      6: .B char *getlogin()
                      7: .SH DESCRIPTION
                      8: .I Getlogin
                      9: returns a pointer to
                     10: the login name
                     11: as set by
                     12: .IR setlogname ;
                     13: see
                     14: .IR getuid (2).
                     15: .PP
                     16: It is preferable, but less portable, to call
                     17: .IR getlogname ;
                     18: see
                     19: .IR getuid (2).
                     20: .SH FILES
                     21: .TP
                     22: .F /etc/utmp
                     23: .SH "SEE ALSO"
                     24: .IR getpwent (3), 
                     25: .IR getgrent (3), 
                     26: .IR utmp (5), 
                     27: .IR getuid (2)
                     28: .SH DIAGNOSTICS
                     29: Zero is returned if the name could not be found.
                     30: .SH BUGS
                     31: The return values point to static data
                     32: whose content is overwritten by each call.

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.