Unix |
Unix v6 |
|
![]() |
getpw(3) |
![]() |
getpw get name from UID getpw(uid, buf)
char *buf; 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. /etc/passwd
passwd (V) non-zero return on error.
![]() |
getpw(3) | ![]() |