From 97d5c458cfa039d857301e1ca7d5af3beb37131d Mon Sep 17 00:00:00 2001 From: Jacob McDonnell Date: Sun, 26 Apr 2026 16:38:00 -0400 Subject: build: Better Build System --- static/unix-v10/man3/getlogin.3 | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 static/unix-v10/man3/getlogin.3 (limited to 'static/unix-v10/man3/getlogin.3') 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. -- cgit v1.2.3