shithub: riscv

ref: e0087b2a78d7229d8d2b148b8def688be6639797
dir: /sys/src/ape/lib/ap/plan9/setgid.c/

View raw version
#include <sys/types.h>
#include <unistd.h>
#include <errno.h>

/*
 * BUG: never works
 */

int
setgid(gid_t gid)
{
	errno = EPERM;
	return -1;
}