.\" Copyright (c) 1990 The Regents of the University of California.
.\" %sccs.include.redist.man%
.\" @(#)getpw.3 6.4 (Berkeley) %G%
.Fn getpw uid "char *buf"
The getpw function is made obsolete by getpwuid(3).
It is available from the compatibility library, libcompat.
copies the password entry line into the string pointed to by
the null terminated entry line from the password database,
function returns the zero if successful, otherwise
a non-zero if the entry does not exist.
.Bl -tag -width /etc/passwd - compact