getpw(3)getpw(3)Namegetpw - get name from uid
Syntax
getpw(uid, buf)
char *buf;
Description
The routine has been superseded by see
The routine searches the password file for the (numerical) uid, and
fills in buf with the corresponding line; it returns nonzero if uid
could not be found. The line is null terminated.
Diagnostics
Nonzero return on error.
Files
/etc/passwd
See Alsogetpwent(3), passwd(5yp)getpw(3)