annotate nt/inc/pwd.h @ 85425:e7618e76351a

(display-time-world-time-format): Display day # not month #.
author Richard M. Stallman <rms@gnu.org>
date Thu, 18 Oct 2007 21:23:10 +0000
parents 2d45521f8f6d
children 01137c1fdbe9 06ca3efb355b
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
11766
1877e9736ea1 removed ^Ms
Geoff Voelker <voelker@cs.washington.edu>
parents: 11401
diff changeset
1 #ifndef _PWD_H_
1877e9736ea1 removed ^Ms
Geoff Voelker <voelker@cs.washington.edu>
parents: 11401
diff changeset
2 #define _PWD_H_
1877e9736ea1 removed ^Ms
Geoff Voelker <voelker@cs.washington.edu>
parents: 11401
diff changeset
3 /*
1877e9736ea1 removed ^Ms
Geoff Voelker <voelker@cs.washington.edu>
parents: 11401
diff changeset
4 * pwd.h doesn't exist on NT, so we put together our own.
1877e9736ea1 removed ^Ms
Geoff Voelker <voelker@cs.washington.edu>
parents: 11401
diff changeset
5 */
1877e9736ea1 removed ^Ms
Geoff Voelker <voelker@cs.washington.edu>
parents: 11401
diff changeset
6
1877e9736ea1 removed ^Ms
Geoff Voelker <voelker@cs.washington.edu>
parents: 11401
diff changeset
7 struct passwd {
1877e9736ea1 removed ^Ms
Geoff Voelker <voelker@cs.washington.edu>
parents: 11401
diff changeset
8 char *pw_name;
1877e9736ea1 removed ^Ms
Geoff Voelker <voelker@cs.washington.edu>
parents: 11401
diff changeset
9 char *pw_passwd;
1877e9736ea1 removed ^Ms
Geoff Voelker <voelker@cs.washington.edu>
parents: 11401
diff changeset
10 int pw_uid;
1877e9736ea1 removed ^Ms
Geoff Voelker <voelker@cs.washington.edu>
parents: 11401
diff changeset
11 int pw_gid;
1877e9736ea1 removed ^Ms
Geoff Voelker <voelker@cs.washington.edu>
parents: 11401
diff changeset
12 int pw_quota;
1877e9736ea1 removed ^Ms
Geoff Voelker <voelker@cs.washington.edu>
parents: 11401
diff changeset
13 char *pw_gecos;
1877e9736ea1 removed ^Ms
Geoff Voelker <voelker@cs.washington.edu>
parents: 11401
diff changeset
14 char *pw_dir;
1877e9736ea1 removed ^Ms
Geoff Voelker <voelker@cs.washington.edu>
parents: 11401
diff changeset
15 char *pw_shell;
1877e9736ea1 removed ^Ms
Geoff Voelker <voelker@cs.washington.edu>
parents: 11401
diff changeset
16 };
1877e9736ea1 removed ^Ms
Geoff Voelker <voelker@cs.washington.edu>
parents: 11401
diff changeset
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
63019
2d45521f8f6d (getpwnam, getpwuid): Add prototypes.
Eli Zaretskii <eliz@gnu.org>
parents: 52401
diff changeset
21 struct passwd * getpwnam (char *);
2d45521f8f6d (getpwnam, getpwuid): Add prototypes.
Eli Zaretskii <eliz@gnu.org>
parents: 52401
diff changeset
22 struct passwd * getpwuid (int);
2d45521f8f6d (getpwnam, getpwuid): Add prototypes.
Eli Zaretskii <eliz@gnu.org>
parents: 52401
diff changeset
23
2d45521f8f6d (getpwnam, getpwuid): Add prototypes.
Eli Zaretskii <eliz@gnu.org>
parents: 52401
diff changeset
24
11766
1877e9736ea1 removed ^Ms
Geoff Voelker <voelker@cs.washington.edu>
parents: 11401
diff changeset
25 #endif /* _PWD_H_ */
52401
695cf19ef79e Add arch taglines
Miles Bader <miles@gnu.org>
parents: 39823
diff changeset
26
695cf19ef79e Add arch taglines
Miles Bader <miles@gnu.org>
parents: 39823
diff changeset
27 /* arch-tag: 68308424-cb2b-49ed-bb52-b347fee416bf
695cf19ef79e Add arch taglines
Miles Bader <miles@gnu.org>
parents: 39823
diff changeset
28 (do not change this comment) */