4.3BSD-Reno/share/man/cat3/pwcache.0

Compare this file to the similar file:
Show the results in this format:




PWCACHE(3)		      1990		       PWCACHE(3)



NNAAMMEE
     pwcache - cache password and group entries

SSYYNNOOPPSSIISS
     uusseerr__ffrroomm__uuiidd((uuiidd,, nnoouusseerr))
     uuiidd__tt uuiidd;;
     iinntt nnoouusseerr;;

     ggrroouupp__ffrroomm__ggiidd((ggiidd,, nnooggrroouupp))
     ggiidd__tt ggiidd;;
     iinntt nnooggrroouupp;;

DDEESSCCRRIIPPTTIIOONN
     TThhiiss iinntteerrffaaccee iiss nnoott ppaarrtt ooff tthhee CC lliibbrraarryy..  IItt hhaass bbeeeenn
     ppllaacceedd iinn tthhee BBeerrkkeelleeyy uuttiilliittyy lliibbrraarryy,, lliibbuuttiill,, aass iitt iiss
     uusseedd bbyy sseevveerraall ssttaannddaarrdd uuttiilliittiieess..

     The _u_s_e_r__f_r_o_m__u_i_d function returns the user name associated
     with the argument uid.  The user name is cached so that mul-
     tiple calls with the same uid do not require additional
     calls to _g_e_t_p_w_u_i_d(3).  If there is no user associated with
     the uid, a pointer is returned to an ASCII representation of
     the uid, unless the argument _n_o_u_s_e_r is non-zero, in which
     case a NULL pointer is returned.

     The _g_r_o_u_p__f_r_o_m__g_i_d function returns the group name associ-
     ated with the argument gid.  The group name is cached so
     that multiple calls with the same gid do not require addi-
     tional calls to _g_e_t_g_r_g_i_d(3).  If there is no group associ-
     ated with the gid, a pointer is returned to an ASCII
     representation of the gid, unless the argument _n_o_g_r_o_u_p is
     non-zero, in which case a NULL pointer is returned.

SSEEEE AALLSSOO
     getgrgid(3), getpwuid(3)




















Printed 7/27/90               June				1