osf1 man page for getpw

Query: getpw

OS: osf1

Section: 3

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

getpw(3)						     Library Functions Manual							  getpw(3)

NAME
getpw - get name from uid
SYNOPSIS
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/passwd
RELATED INFORMATION
getpwent(3), passwd(4) delim off getpw(3)
Related Man Pages
getpw(3) - debian
getpw(3) - suse
getpw(3c) - hpux
getpw(3) - opendarwin
getpw(3) - x11r4
Similar Topics in the Unix Linux Community
Perl getpwent in Tru64 5.1
Regarding cuserid(), getlogin() and getpwuid() function in 'C'
Getpwnam_r returning null with errno 25