#include <pwd.h>
int putpwent(p, f) struct passwd *p; FILE *f;
putpwent() returns non-zero if an error was detected during its operation, otherwise zero.
The above routine uses <stdio.h>, which increases the size of programs, not otherwise using standard I/O, more than might be expected.
This routine is of limited utility, since most password files are maintained as Network Information Service (NIS) files, and cannot be updated with this routine.
The Network Information Service (NIS) was formerly known as Sun Yellow Pages (YP). The functionality of the two remains the same; only the name has changed.
Created by unroff & hp-tools. © somebody (See intro for details). All Rights Reserved. Last modified 11/5/97