Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ putspwent(3C) — HP-UX 9.10

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

getpwent(3C)

getspwent(3C)

putpwent(3C)

spasswd(4)

putspwent(3C)

NAME

putspwent() − write secure password file entry

SYNOPSIS

#include <pwd.h>

int putspwent(const struct s_passwd *p, FILE *f);

DESCRIPTION

putspwent() is the inverse of getspwent() (see getspwent(3C)). Given a pointer to a s_passwd structure, as created by getspwent(), putspwent() writes a line on the stream f, which matches the format of /.secure/etc/passwd. 

RETURN VALUE

putspwent() returns non-zero if it detects an error during its operation; otherwise it returns a value of zero. 

AUTHOR

putspwent() was developed by HP. 

SEE ALSO

getpwent(3C), getspwent(3C), putpwent(3C), spasswd(4). 

Hewlett-Packard Company  —  HP-UX Release 9.10: April 1995

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026