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