summaryrefslogtreecommitdiff
path: root/src/unistd/setuid.c
blob: 4599b083829025671986f1ff573340fa2beef549 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#include "stddef.h"
#include "sys/types.h"
#include <unistd.h>
#include "../_syscall.h"

int setuid(uid_t uid)
{
	SYSCALL(setuid, int, -1, uid, 0, 0, 0, 0, 0);
}
/*
POSIX(1)
*/