]> git.lizzy.rs Git - plan9front.git/blob - sys/include/ape/pwd.h
audiohda: fix syntax error
[plan9front.git] / sys / include / ape / pwd.h
1 #ifndef __PWD
2 #define __PWD
3 #ifndef _POSIX_SOURCE
4    This header file is not defined in pure ANSI
5 #endif
6 #pragma lib "/$M/lib/ape/libap.a"
7 #include <sys/types.h>
8
9 struct passwd {
10         char    *pw_name;
11         char    *pw_passwd;
12         uid_t   pw_uid;
13         gid_t   pw_gid;
14         char    *pw_gecos;
15         char    *pw_dir;
16         char    *pw_shell;
17 };
18
19 #ifdef __cplusplus
20 extern "C" {
21 #endif
22
23 extern struct passwd *getpwuid(uid_t);
24 extern struct passwd *getpwnam(const char *);
25
26 #ifdef __cplusplus
27 }
28 #endif
29
30 #endif