man.bsd.lv manual page server

Manual Page Search Parameters
GETPW(3) Library Functions Manual GETPW(3)

getpw - get name from UID

getpw(uid, buf)
char *buf;

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.

/etc/passwd

getpwent(3), passwd(5)

Non-zero return on error.

deprecated UNIX-7