Magellan Linux

Contents of /tags/mkinitrd-6_3_3/klibc/usr/include/pwd.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1182 - (show annotations) (download)
Wed Dec 15 21:43:57 2010 UTC (13 years, 6 months ago) by niro
File MIME type: text/plain
File size: 333 byte(s)
tagged 'mkinitrd-6_3_3'
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 */