1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
#pragma once typedef unsigned short __gid_t; __inline __gid_t getgid(void){return 0;} __inline struct group * getgrnam(char* g){return 0;} struct group { char *gr_name; char *gr_passwd; __gid_t gr_gid; char **gr_mem; }; #define getgrgid(i) NULL