PWD.H(3HEAD) Headers PWD.H(3HEAD)
pwd.h, pwd - password structure
#include <pwd.h>
The <pwd.h> header provides a definition for struct passwd, which
includes the following members:
char *pw_name user's login name
uid_t pw_uid numerical user ID
gid_t pw_gid numerical group ID
char *pw_dir initial working di rectory
char *pw_shell program to use as shell
The gid_t and uid_t types are defined as described in <sys/types.h>.
See types.h(3HEAD).
See attributes(7) for descriptions of the following attributes:
+--------------------+-----------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+--------------------+-----------------+
|Interface Stability | Standard |
+--------------------+-----------------+
getpwnam(3C), types.h(3HEAD), attributes(7), standards(7)
September 10, 2004 PWD.H(3HEAD)
NAME
pwd.h, pwd - password structure
SYNOPSIS
#include <pwd.h>
DESCRIPTION
The <pwd.h> header provides a definition for struct passwd, which
includes the following members:
char *pw_name user's login name
uid_t pw_uid numerical user ID
gid_t pw_gid numerical group ID
char *pw_dir initial working di rectory
char *pw_shell program to use as shell
The gid_t and uid_t types are defined as described in <sys/types.h>.
See types.h(3HEAD).
ATTRIBUTES
See attributes(7) for descriptions of the following attributes:
+--------------------+-----------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+--------------------+-----------------+
|Interface Stability | Standard |
+--------------------+-----------------+
SEE ALSO
getpwnam(3C), types.h(3HEAD), attributes(7), standards(7)
September 10, 2004 PWD.H(3HEAD)