GETPW(S) XENIX System V GETPW(S)
Name
getpw - Gets password for a given user ID.
Syntax
int getpw (uid, buf)
int uid;
char *buf;
Description
getpw searches the password file for the uid, and fills in
buf with the corresponding line; it returns nonzero if uid
could not be found. The line is null-terminated. uid must
be an integer value.
Files
/etc/passwd
See Also
getpwent(S), passwd(M)
Diagnostics
Returns nonzero on error.
Notes
This routine is included only for compatibility with prior
systems and should not be used; see getpwent(S) for routines
to use instead.
Page 1 (printed 8/7/87)