#ifndef _PWD_H #define _PWD_H #include /* Structure of a password entry */ typedef 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; } Passwd; Passwd *getpwnam(const char *username); Passwd *getpwuid(uid_t uid); #endif