Copyright (C) 2000-2012 |
Manpages PUTPWENTSection: Linux Programmer's Manual (3 )Updated: 1993-04-09 Index Return to Main Contents NAMEputpwent - write a password file entrySYNOPSIS#include <pwd.h> #include <stdio.h> #include <sys/types.h> int putpwent(const struct passwd *p, FILE *stream); DESCRIPTIONThe putpwent() function writes a password entry from the structure p in the file associated with stream.The passwd structure is defined in <pwd.h> as follows:
RETURN VALUEThe putpwent() function returns 0 on success, or -1 if an error occurs.ERRORS
CONFORMING TOSVID 3SEE ALSOfgetpwent(3), getpwent(3), setpwent(3), endpwent(3), getpwnam(3), getpwuid(3), getpw(3)
IndexThis document was created by man2html, using the manual pages. Time: 17:12:16 GMT, April 19, 2024 |