GETPW
Section: C Library Functions (3)
Updated: deprecated
Index
Return to Main Contents
NAME
getpw - get name from UID
SYNOPSIS
getpw(uid, buf)
char *buf;
DESCRIPTION
Getpw
searches the password file for
the (numerical)
uid, and fills in buf
with the corresponding line;
it returns non-zero if
uid
could not
be found.
The line is null-terminated.
FILES
/etc/passwd
SEE ALSO
getpwent(3),
passwd(5)
DIAGNOSTICS
Non-zero
return on error.
Index
- NAME
-
- SYNOPSIS
-
- DESCRIPTION
-
- FILES
-
- SEE ALSO
-
- DIAGNOSTICS
-
This document was created by
man2html,
using the manual pages.
Time: 10:17:29 GMT, December 28, 2024