Mercurial > emacs
annotate nt/inc/pwd.h @ 88331:87edb010d368
*** empty log message ***
author | Henrik Enberg <henrik.enberg@telia.com> |
---|---|
date | Thu, 09 Mar 2006 02:16:39 +0000 |
parents | d7ddb3e565de |
children |
rev | line source |
---|---|
11766 | 1 #ifndef _PWD_H_ |
2 #define _PWD_H_ | |
3 /* | |
4 * pwd.h doesn't exist on NT, so we put together our own. | |
5 */ | |
6 | |
7 struct passwd { | |
8 char *pw_name; | |
9 char *pw_passwd; | |
10 int pw_uid; | |
11 int pw_gid; | |
12 int pw_quota; | |
13 char *pw_gecos; | |
14 char *pw_dir; | |
15 char *pw_shell; | |
16 }; | |
17 | |
39823
6df655ed941d
(uid_t, gid_t): New typedefs.
Andrew Innes <andrewi@gnu.org>
parents:
11766
diff
changeset
|
18 typedef int uid_t; |
6df655ed941d
(uid_t, gid_t): New typedefs.
Andrew Innes <andrewi@gnu.org>
parents:
11766
diff
changeset
|
19 typedef uid_t gid_t; |
6df655ed941d
(uid_t, gid_t): New typedefs.
Andrew Innes <andrewi@gnu.org>
parents:
11766
diff
changeset
|
20 |
88155 | 21 struct passwd * getpwnam (char *); |
22 struct passwd * getpwuid (int); | |
23 | |
24 | |
11766 | 25 #endif /* _PWD_H_ */ |
88155 | 26 |
27 /* arch-tag: 68308424-cb2b-49ed-bb52-b347fee416bf | |
28 (do not change this comment) */ |