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