pwd
struct passwd * getpwnam (char const *name);
char const *name
int getpwnam_r (char const *name, struct passwd *pw, char *buffer, size_t bufsize, struct passwd **result);
struct passwd *pw
char *buffer
size_t bufsize
struct passwd **result
struct passwd * getpwuid (uid_t uid);
uid_t uid
struct passwd * getpwent (void);
void
void endpwent (void);
void setpwent (void);
#define gid_t
#define id_t
#define uid_t
struct passwd { char * pw_name; char * pw_passwd; uid_t pw_uid; gid_t pw_gid; char * pw_gecos; char * pw_dir; char * pw_shell; };