OrionLibC
Barry Using POSIX names for structs 11f4683 (2 years, 2 months ago)#ifndef _PWD_H #define _PWD_H #include <sys/types.h> /* 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