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