| Click this button to go to the index for this section. |
getpw(3)
NAME
getpw - get name from uidSYNOPSIS
getpw ( uid_t uid, char *buf );DESCRIPTION
The getpw routine has been superseded by getpwuid. See getpwent(3). The getpw 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.ERRORS
Nonzero return on error.FILES
/etc/passwdRELATED INFORMATION
getpwent(3), passwd(4)