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