GETPW(3) 1989 GETPW(3) NNAAMMEE getpw - get name from uid SSYYNNOOPPSSIISS ggeettppww((uuiidd,, bbuuff)) cchhaarr **bbuuff;; DDEESSCCRRIIPPTTIIOONN GGeettppww iiss mmaaddee oobbssoolleettee bbyy ggeettppwwuuiidd((33)).. IItt iiss aavvaaiillaabbllee ffrroomm tthhee ccoommppaattiibbiilliittyy lliibbrraarryy,, lliibbccoommppaatt.. _G_e_t_p_w searches the password file for the (numerical) _u_i_d, and fills in _b_u_f with the corresponding line; it returns non-zero if _u_i_d could not be found. The line is null- terminated. FFIILLEESS /etc/passwd SSEEEE AALLSSOO getpwent(3), passwd(5) DDIIAAGGNNOOSSTTIICCSS Non-zero return on error. Printed 7/27/90 May 1