ref: 4410517b44fd2610abe0dcd1349bb3e6b3c5ddb8 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; }