GETPW(3C)
NAME
getpw − get name from user ID (obsolete)
USAGE
getpw(uid, buf) char *buf;
DESCRIPTION
Getpw has been made obsolete by getpwuid(3).
Getpw searches the password file for the (numeric) uid and fills in buf with the corresponding null-terminated line; it returns non-zero if uid is not found.
FILES
/etc/passwd the password file
DIAGNOSTICS
Returns non-zero on an error.