Last change
on this file since 18 was 18, checked in by bird, 22 years ago |
Initial revision
|
-
Property cvs2svn:cvs-rev
set to
1.1
-
Property svn:eol-style
set to
native
-
Property svn:executable
set to
*
|
File size:
993 bytes
|
Line | |
---|
1 | /* pwd.h (emx+gcc) */
|
---|
2 |
|
---|
3 | #ifndef _PWD_H
|
---|
4 | #define _PWD_H
|
---|
5 |
|
---|
6 | #if defined (__cplusplus)
|
---|
7 | extern "C" {
|
---|
8 | #endif
|
---|
9 |
|
---|
10 | #if !defined (_PASSWORD_LEN)
|
---|
11 | #define _PASSWORD_LEN 128
|
---|
12 | #endif
|
---|
13 |
|
---|
14 | #if !defined (_GID_T)
|
---|
15 | #define _GID_T
|
---|
16 | typedef int gid_t;
|
---|
17 | #endif
|
---|
18 |
|
---|
19 | #if !defined (_UID_T)
|
---|
20 | #define _UID_T
|
---|
21 | typedef int uid_t;
|
---|
22 | #endif
|
---|
23 |
|
---|
24 | struct passwd
|
---|
25 | {
|
---|
26 | char *pw_name;
|
---|
27 | char *pw_passwd;
|
---|
28 | uid_t pw_uid;
|
---|
29 | gid_t pw_gid;
|
---|
30 | char *pw_age;
|
---|
31 | char *pw_comment;
|
---|
32 | char *pw_gecos;
|
---|
33 | char *pw_dir;
|
---|
34 | char *pw_shell;
|
---|
35 | };
|
---|
36 |
|
---|
37 | char *getpass (__const__ char *);
|
---|
38 | char *_getpass1 (__const__ char *);
|
---|
39 | char *_getpass2 (__const__ char *, int);
|
---|
40 |
|
---|
41 | struct passwd *getpwuid (uid_t);
|
---|
42 | struct passwd *getpwnam (__const__ char *);
|
---|
43 |
|
---|
44 | struct passwd *_getpwuid (uid_t);
|
---|
45 | struct passwd *_getpwnam (__const__ char *);
|
---|
46 |
|
---|
47 | #if !defined (_POSIX_SOURCE)
|
---|
48 |
|
---|
49 | struct passwd *getpwent (void);
|
---|
50 | void setpwent (void);
|
---|
51 | void endpwent (void);
|
---|
52 |
|
---|
53 | struct passwd *_getpwent (void);
|
---|
54 | void _setpwent (void);
|
---|
55 | void _endpwent (void);
|
---|
56 |
|
---|
57 | #endif
|
---|
58 |
|
---|
59 | #if defined (__cplusplus)
|
---|
60 | }
|
---|
61 | #endif
|
---|
62 |
|
---|
63 | #endif /* not _PWD_H */
|
---|
Note:
See
TracBrowser
for help on using the repository browser.