1 2 3 4 5 6 7 8 9 10
#include <sys/types.h> #include <unistd.h> #include <errno.h> int getgroups(int, gid_t*) { errno = EINVAL; return -1; }