COHERENT manpages
This page displays the COHERENT manpage for getpw() [Search password file].
List of available manpages
Index
getpw() -- General Function (libc) Search password file getpw(uid, line) short uid; char *line; getpw() searches the password file /etc/passwd for the first entry with numerical user id uid. If found, line receives the corresponding line from the password file. Files /etc/passwd See Also getpwent(), getuid(), libc, passwd Diagnostics getpw() returns a nonzero value on error.