2 * Acess2 POSIX Emulation
3 * - By John Hodge (thePowersGang)
8 #ifndef _LIBPOSIX__PWD_H_
9 #define _LIBPOSIX__PWD_H_
11 #include <stddef.h> // size_t
12 #include <sys/types.h> // gid_t/uid_t
24 extern struct passwd *getpwnam(const char *);
25 extern struct passwd *getpwuid(uid_t);
26 extern int getpwnam_r(const char *, struct passwd *, char *, size_t, struct passwd **);
27 extern int getpwuid_r(uid_t, struct passwd *, char *, size_t, struct passwd **);
28 extern void endpwent(void);
29 extern struct passwd *getpwent(void);
30 extern void setpwent(void);