Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ pwd(5) — Reliant UNIX 5.44c4

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

getpwent(3C)

types(5)

pwd(5)                                                               pwd(5)

NAME
     pwd - password structure

SYNOPSIS
     #include <pwd.h>

DESCRIPTION
     The <pwd.h> header provides a definition for struct passwd, which
     includes the following members:

     char    *pwname         User's login name.

     uidt    pwuid          Numerical user ID.

     gidt    pwgid          Numerical group ID.

     char    *pwdir          Initial working directory.

     char    *pwshell        Program to use as shell.

     The gidt and uidt types are defined as described in <sys/types.h>.

     The following are declared as functions and may also be defined as
     macros:

     struct passwd *getpwnam(const char *name);
     struct passwd *getpwuid(uidt uid);
     void           endpwent(void);
     struct passwd *getpwent(void);
     void           setpwent(void);

SEE ALSO
     getpwent(3C), types(5).






















Page 1                       Reliant UNIX 5.44                Printed 11/98

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