v7 man page for getpw

Query: getpw

OS: v7

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, buf) char *buf;
DESCRIPTION
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.
FILES
/etc/passwd
SEE ALSO
getpwent(3), passwd(5)
DIAGNOSTICS
Non-zero return on error. deprecated GETPW(3)
Related Man Pages
getpw(3) - linux
getpw(3) - debian
getpw(3c) - hpux
getpw(3) - opendarwin
getpw(3) - minix
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