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