GETPW(3C) GETPW(3C) NAME getpw - get name from uid SYNOPSIS getpw(uid, buf) char *buf; DESCRIPTION Getpw is made obsolete by getpwuid(3). _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. FILES /etc/passwd SEE ALSO getpwent(3), passwd(5) DIAGNOSTICS Non-zero return on error. 7th Edition May 27, 1986 GETPW(3C)