ggeettppwwuuiidd() -- General Function (libc)

Get password file information, by id
#iinncclluuddee <ppwwdd.hh>
ssttrruucctt ppaasssswwdd *ggeettppwwuuiidd(_u_i_d)
iinntt _u_i_d;

The COHERENT  system has  five routines  that search the  file /eettcc/ppaasssswwdd,
which contains  information about every  user of the  system.  The returned
structure ppaasssswwdd is defined in  the header file ppwwdd.hh. For more information
on this structure, see ppwwdd.hh.

ggeettppwwuuiidd() attempts  to find the  first entry with  a numerical user  id of
_u_i_d.

_E_x_a_m_p_l_e
For an example of this function, see the entry for ggeettppwweenntt().

_F_i_l_e_s
/eettcc/ppaasssswwdd
ppwwdd.hh

_S_e_e _A_l_s_o
lliibbcc
POSIX Standard, section 9.2.2

_D_i_a_g_n_o_s_t_i_c_s
ggeettppwwuuiidd() returns NULL for any error or on end of file.

_N_o_t_e_s
All structures  and information  returned are  in static areas  internal to
ggeettppwwuuiidd(). Therefore,  information from a previous  call is overwritten by
each subsequent call.
