musl-tcc/src/unistd/setuid.c
2022-03-20 16:48:53 +08:00

9 lines
127 B
C

#include <unistd.h>
#include "syscall.h"
#include "libc.h"
int setuid(uid_t uid)
{
return __setxid(SYS_setuid, uid, 0, 0);
}