diff options
| author | Jacob McDonnell <jacob@jacobmcdonnell.com> | 2026-04-26 16:38:00 -0400 |
|---|---|---|
| committer | Jacob McDonnell <jacob@jacobmcdonnell.com> | 2026-04-26 16:38:00 -0400 |
| commit | 97d5c458cfa039d857301e1ca7d5af3beb37131d (patch) | |
| tree | b460cd850d0537eb71806ba30358840377b27688 /static/unix-v10/man3/getlogin.3 | |
| parent | b89dc2331a50c63f8b33272a5c4c61ab98abdaa3 (diff) | |
build: Better Build System
Diffstat (limited to 'static/unix-v10/man3/getlogin.3')
| -rw-r--r-- | static/unix-v10/man3/getlogin.3 | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/static/unix-v10/man3/getlogin.3 b/static/unix-v10/man3/getlogin.3 new file mode 100644 index 00000000..bc9e500c --- /dev/null +++ b/static/unix-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. |
