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