ref: f44cfeb7d7519a18140a043fbf2b5eed243153fc dir: /sys/src/ape/lib/ap/plan9/getgroups.c/
#include <sys/types.h> #include <unistd.h> #include <errno.h> int getgroups(int gidsize, gid_t grouplist[]) { errno = EINVAL; return -1; }