summaryrefslogblamecommitdiff
path: root/src/unistd/seteuid.c
blob: ef8b9df43bd7307597f3d106fe99b150f72b1cba (plain) (tree)
1
2
3
4
5
6
7
8
                   

                    


                       
                                                     
 
#include <unistd.h>
#include "syscall.h"
#include "libc.h"

int seteuid(uid_t euid)
{
	return __setxid(SYS_setresuid, -1, euid, -1);
}