Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ putpwent(S) — Xenix 2.3.4

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

passwd(M)

getpwent(S)



     PUTPWENT(S)              XENIX System V               PUTPWENT(S)



     Name
          putpwent - Writes a password file entry.

     Syntax
          #include <pwd.h>

          int putpwent (p, f)
          struct passwd *p;
          FILE *f;

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

     See Also
          passwd(M), getpwent(S)

     Diagnostics
          putpwent returns nonzero if an error was detected during its
          operation, otherwise zero.

































     Page 1                                           (printed 8/7/87)



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