

getpw()                  General Function                 getpw()




Search password file

ggeettppww(_u_i_d, _l_i_n_e)
sshhoorrtt _u_i_d;
cchhaarr *_l_i_n_e;

getpw searches the  password file /etc/passwd for the first entry
with numerical  user id  uid.  If  found, line receives  the cor-
responding line from the password file.

***** Files *****

/etc/passwd

***** See Also *****

general

***** Diagnostics *****

getpw returns a nonzero value on error.



































COHERENT Lexicon                                           Page 1


