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