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