#ifndef _PWD_H #define _PWD_H #include /* Structure of a password entry */ typedef struct passwd { char *username; char *password; uid_t uid; gid_t gid; char *info; char *homedir; char *shell; } Passwd; Passwd *getpwname(const char *username); Passwd *getpwuid(uid_t uid); #endif