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