shithub: riscv

ref: 1fcc84d072c40cbd7ed58d164ed17e0b7989dc11
dir: /sys/src/ape/lib/ap/plan9/setuid.c/

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

/*
 * BUG: never works
 */

int
setuid(uid_t uid)
{
	errno = EPERM;
	return -1;
}