1#if !defined ISO && !defined ISO99 && !defined ISO11 2#ifdef POSIX 3# define uid_t __uid_t 4# define gid_t __gid_t 5#endif 6 7type {struct passwd} 8element {struct passwd} {char*} pw_name 9element {struct passwd} uid_t pw_uid 10element {struct passwd} gid_t pw_gid 11element {struct passwd} {char*} pw_dir 12element {struct passwd} {char*} pw_shell 13 14# ifndef POSIX 15type uid_t 16type gid_t 17# if defined XOPEN2K8 || defined POSIX2008 18type size_t 19# endif 20# endif 21 22function {struct passwd*} getpwnam (const char*) 23function {struct passwd*} getpwuid (uid_t) 24function int getpwnam_r (const char*, struct passwd*, char*, size_t, struct passwd**) 25function int getpwuid_r (uid_t, struct passwd*, char*, size_t, struct passwd**) 26# if !defined XPG4 && !defined POSIX && !defined POSIX2008 27function void endpwent (void) 28function {struct passwd*} getpwent (void) 29function void setpwent (void) 30# endif 31 32allow pw_* 33allow *_t 34#endif 35