1pwd.h(3HEAD) Headers pwd.h(3HEAD)
2
3
4
6 pwd.h, pwd - password structure
7
9 #include <pwd.h>
10
11
13 The <pwd.h> header provides a definition for struct passwd, which
14 includes the following members:
15
16 char *pw_name user's login name
17 uid_t pw_uid numerical user ID
18 gid_t pw_gid numerical group ID
19 char *pw_dir initial working di rectory
20 char *pw_shell program to use as shell
21
22
23
24 The gid_t and uid_t types are defined as described in <sys/types.h>.
25 See types.h(3HEAD).
26
28 See attributes(5) for descriptions of the following attributes:
29
30
31
32
33 ┌─────────────────────────────┬─────────────────────────────┐
34 │ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
35 ├─────────────────────────────┼─────────────────────────────┤
36 │Interface Stability │Standard │
37 └─────────────────────────────┴─────────────────────────────┘
38
40 getpwnam(3C), types.h(3HEAD), attributes(5), standards(5)
41
42
43
44SunOS 5.11 10 Sep 2004 pwd.h(3HEAD)