| Red Hat Documentation: man pages: man3: Linux Programmer's Manual (3) |
PUTPWENTSection: Linux Programmer's Manual (3)Updated: April 9, 2025 Index 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 ALSO
IndexThis document was created by using the manual pages. Time: 11:58:05 GMT, March 24, 2025 |
|
© 2001 Red Hat, Inc. All rights reserved. About Red Hat : Legal statement : Privacy statement : Y2K statement : Contact Red Hat |