ref: bf4f158707ebfeacb15826ad4283ff247d7d81ae 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 gid) { errno = EPERM; return -1; }