4.3BSD-Tahoe/usr/man/cat3/getpw.0

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




GETPW(3C)	    UNIX Programmer's Manual		GETPW(3C)



NNAAMMEE
     getpw - get name from uid

SSYYNNOOPPSSIISS
     ggeettppww((uuiidd,, bbuuff))
     cchhaarr **bbuuff;;

DDEESSCCRRIIPPTTIIOONN
     GGeettppww iiss mmaaddee oobbssoolleettee bbyy ggeettppwwuuiidd((33))..

     _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/9/88		  May 27, 1986				1