ref: 2d0ede468ddd363243fd31580e3e86c39b51f7be dir: /sys/src/ape/lib/ap/plan9/setgid.c/
#include <sys/types.h> #include <unistd.h> #include <errno.h> /* * BUG: never works */ int setgid(gid_t) { errno = EPERM; return -1; }