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

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