GETPW(3) — C LIBRARY FUNCTIONS
NAME
getpw − get name from uid
SYNOPSIS
getpw(uid, buf)
char ∗buf;
DESCRIPTION
Getpw is made obsolete by getpwent(3).
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
DIAGNOSTICS
Non-zero return on error.
Sun Release 3.5 — Last change: 17 July 1986