diff options
| author | Jacob McDonnell <jacob@jacobmcdonnell.com> | 2026-04-25 21:07:28 -0400 |
|---|---|---|
| committer | Jacob McDonnell <jacob@jacobmcdonnell.com> | 2026-04-25 21:07:28 -0400 |
| commit | 711594636704defae873be1a355a292505585afd (patch) | |
| tree | 59ee13f863830d8beba6cfd02bbe813dd486c26f /static/v10/man3/getlogin.3 | |
| parent | 3258a063c1f189d7b019e40e525b46bef9b9a7b1 (diff) | |
docs: Added UNIX V10 Manuals
Diffstat (limited to 'static/v10/man3/getlogin.3')
| -rw-r--r-- | static/v10/man3/getlogin.3 | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/static/v10/man3/getlogin.3 b/static/v10/man3/getlogin.3 new file mode 100644 index 00000000..bc9e500c --- /dev/null +++ b/static/v10/man3/getlogin.3 @@ -0,0 +1,32 @@ +.TH GETLOGIN 3 +.CT 2 secur +.SH NAME +getlogin \(mi get login name +.SH SYNOPSIS +.B char *getlogin() +.SH DESCRIPTION +.I Getlogin +returns a pointer to +the login name +as set by +.IR setlogname ; +see +.IR getuid (2). +.PP +It is preferable, but less portable, to call +.IR getlogname ; +see +.IR getuid (2). +.SH FILES +.TP +.F /etc/utmp +.SH "SEE ALSO" +.IR getpwent (3), +.IR getgrent (3), +.IR utmp (5), +.IR getuid (2) +.SH DIAGNOSTICS +Zero is returned if the name could not be found. +.SH BUGS +The return values point to static data +whose content is overwritten by each call. |
