shithub: riscv

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