PUTPWENT(3C) UNIX Programmer's Manual PUTPWENT(3C) NAME putpwent - write password file entry SYNOPSIS #include #include int putpwent (p, f) struct passwd *p; FILE *f; HP-UX COMPATIBILITY Level: HP-UX/NUCLEUS Origin: System III DESCRIPTION _P_u_t_p_w_e_n_t is the inverse of _g_e_t_p_w_e_n_t(3C). Given a pointer to a _p_a_s_s_w_d structure as created by _g_e_t_p_w_e_n_t (or _g_e_t_p_w_u_i_d or _g_e_t_p_w_n_a_m - see _g_e_t_p_w_e_n_t(3C)), _p_u_t_p_w_e_n_t writes a line on the stream _f which matches the format of /_e_t_c/_p_a_s_s_w_d. DIAGNOSTICS _P_u_t_p_w_e_n_t returns non-zero if an error was detected during its operation, otherwise zero.