OrionLibC
Barry Using POSIX names for structs 11f4683 (2 years, 2 months ago)diff --git a/include/grp.h b/include/grp.h index a6e07d6..2916b68 100644 --- a/include/grp.h +++ b/include/grp.h @@ -3,12 +3,12 @@ /* Structure of a group entry */ typedef struct group { - char *name; - gid_t gid; - char **members; + char *gr_name; + gid_t gr_gid; + char **gr_mem; } Group; -Group *getgrname(const char *name); +Group *getgrnam(const char *name); Group *getgrgid(gid_t gid); #endif