|
Last change
on this file since 2562 was 819, checked in by bird, 19 years ago |
|
More svn:eol-style fixes.
|
-
Property svn:eol-style
set to
native
|
|
File size:
594 bytes
|
| Line | |
|---|
| 1 | #ifndef __pwd_h__
|
|---|
| 2 | #define __pwd_h__
|
|---|
| 3 | #include <time.h>
|
|---|
| 4 |
|
|---|
| 5 | struct passwd {
|
|---|
| 6 | char *pw_name; /* user name */
|
|---|
| 7 | char *pw_passwd; /* encrypted password */
|
|---|
| 8 | int pw_uid; /* user uid */
|
|---|
| 9 | int pw_gid; /* user gid */
|
|---|
| 10 | time_t pw_change; /* password change time */
|
|---|
| 11 | char *pw_class; /* user access class */
|
|---|
| 12 | char *pw_gecos; /* Honeywell login info */
|
|---|
| 13 | char *pw_dir; /* home directory */
|
|---|
| 14 | char *pw_shell; /* default shell */
|
|---|
| 15 | time_t pw_expire; /* account expiration */
|
|---|
| 16 | int pw_fields; /* internal: fields filled in */
|
|---|
| 17 | };
|
|---|
| 18 |
|
|---|
| 19 | struct passwd *getpwnam(const char *);
|
|---|
| 20 | struct passwd *getpwuid(int);
|
|---|
| 21 |
|
|---|
| 22 |
|
|---|
| 23 | #endif
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.