putspwent(3X)
NAME
putspwent() − write secure password file entry, for trusted systems
SYNOPSIS
#include <pwd.h>
int putspwent(const struct s_passwd *p, FILE *f);
DESCRIPTION
putspwent() is the inverse of getspwent(). See getspwent(3X). putspwent() is no longer supported, but is provided for use by those applications that did not use the old shadow password, /.secure/etc/passwd.
To update a entry in the new protected password database for trusted systems, use putprpwnam(3). See getprpwent(3) for more information.
AUTHOR
putspwent() was developed by HP.
SEE ALSO
getpwent(3C), getspwent(3X), putpwent(3C), getprpwent(3), prpwd(4).
Hewlett-Packard Company — HP-UX Release 10.20: July 1996