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