Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ putspwent(3C) — HP-UX 7.01

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 (p, f)
struct s_passwd ∗p;
FILE ∗f;

DESCRIPTION

Putspwent is the inverse of getspwent(3C). Given a pointer to a s_passwd structure, as created by getspwent(3C), 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 7.0: Sept 1989

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