shithub: riscv

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