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