summaryrefslogtreecommitdiff
path: root/static/unix-v10/man3/getpw.3
diff options
context:
space:
mode:
authorJacob McDonnell <jacob@jacobmcdonnell.com>2026-04-26 16:38:00 -0400
committerJacob McDonnell <jacob@jacobmcdonnell.com>2026-04-26 16:38:00 -0400
commit97d5c458cfa039d857301e1ca7d5af3beb37131d (patch)
treeb460cd850d0537eb71806ba30358840377b27688 /static/unix-v10/man3/getpw.3
parentb89dc2331a50c63f8b33272a5c4c61ab98abdaa3 (diff)
build: Better Build System
Diffstat (limited to 'static/unix-v10/man3/getpw.3')
-rw-r--r--static/unix-v10/man3/getpw.328
1 files changed, 28 insertions, 0 deletions
diff --git a/static/unix-v10/man3/getpw.3 b/static/unix-v10/man3/getpw.3
new file mode 100644
index 00000000..56189a36
--- /dev/null
+++ b/static/unix-v10/man3/getpw.3
@@ -0,0 +1,28 @@
+.th GETPW III 4/7/73
+.sh NAME
+getpw \*- get name from UID
+.sh SYNOPSIS
+.ft B
+getpw(uid, buf)
+.br
+char *buf;
+.ft R
+.sh DESCRIPTION
+.it Getpw
+searches the password file for
+the (numerical)
+\fIuid\fR, and fills in \fIbuf\fR
+with the corresponding line;
+it returns non-zero if \fIuid\fR could not
+be found.
+The line is null-terminated.
+.sh FILES
+/etc/passwd
+.sh "SEE ALSO"
+passwd(V)
+.sh DIAGNOSTICS
+non-zero
+return on error.
+.sh BUGS
+It disturbs
+buffered input via \fIgetchar\fR (III).