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