Contents of /trunk/mkinitrd-magellan/klibc/usr/include/pwd.h
Parent Directory | Revision Log
Revision 815 -
(show annotations)
(download)
Fri Apr 24 18:32:46 2009 UTC (15 years ago) by niro
File MIME type: text/plain
File size: 333 byte(s)
Fri Apr 24 18:32:46 2009 UTC (15 years ago) by niro
File MIME type: text/plain
File size: 333 byte(s)
-updated to klibc-1.5.15
1 | #ifndef _PWD_H |
2 | #define _PWD_H |
3 | |
4 | #include <klibc/extern.h> |
5 | #include <sys/types.h> |
6 | |
7 | struct passwd { |
8 | char *pw_name; |
9 | char *pw_passwd; |
10 | uid_t pw_uid; |
11 | gid_t pw_gid; |
12 | char *pw_gecos; |
13 | char *pw_dir; |
14 | char *pw_shell; |
15 | }; |
16 | |
17 | __extern struct passwd *getpwuid(uid_t uid); |
18 | |
19 | __extern struct passwd *getpwnam(const char *name); |
20 | |
21 | #endif /* _PWD_H */ |