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