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