Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ getpw(S) — Xenix 2.3.4g

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

getpwent(S)

passwd(M)



     GETPW(S)                 XENIX System V                  GETPW(S)



     Name
          getpw - Gets password for a given user ID.

     Syntax
          int getpw (uid, buf)
          int uid;
          char *buf;

     Description
          getpw searches the password file for the uid, and fills in
          buf with the corresponding line; it returns nonzero if uid
          could not be found.  The line is null-terminated.  uid must
          be an integer value.

     Files
          /etc/passwd

     See Also
          getpwent(S), passwd(M)

     Diagnostics
          Returns nonzero on error.

     Notes
          This routine is included only for compatibility with prior
          systems and should not be used; see getpwent(S) for routines
          to use instead.




























     Page 1                                           (printed 8/7/87)



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