summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/seteuid.c
blob: fbf60909de2c02027d9a3448fab62d46ba90da98 (plain)
1
2
3
4
5
6
7
8
9
#include <unistd.h>
#include <stdio.h>
#include <errno.h>
#include <sys/types.h>

int seteuid(uid_t uid)
{
    return setreuid(-1, uid);
}