Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ putpwent(3C) — UnixWare 2.01

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

getpwent(3C)






       putpwent(3C)                                            putpwent(3C)


       NAME
             putpwent - write password file entry

       SYNOPSIS
             #include <pwd.h>
             int putpwent (const struct passwd *p, FILE *f);

       DESCRIPTION
             putpwent is the inverse of getpwent(3C).  Given a pointer to a
             passwd structure created by getpwent (or getpwuid or
             getpwnam), putpwent writes a line on the stream f, which
             matches the format of /etc/passwd.

          Return Values
             putpwent returns non-zero if an error was detected during its
             operation; otherwise, it returns zero.

       REFERENCES
             getpwent(3C)





























                           Copyright 1994 Novell, Inc.               Page 1








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