Node:Writing a User Entry, Previous:Scanning All Users, Up:User Database
int putpwent (const struct passwd *p, FILE *stream) | Function |
This function writes the user entry *p to the stream
stream, in the format used for the standard user database
file. The return value is zero on success and nonzero on failure.
This function exists for compatibility with SVID. We recommend that you
avoid using it, because it makes sense only on the assumption that the
The function |