mirror of
https://github.com/ziglang/zig.git
synced 2025-12-15 02:33:07 +00:00
also start prefering NtDll API. so far: * NtQueryInformationFile * NtClose adds a performance workaround for windows unicode conversion. but that should probably be removed before merging
9 lines
148 B
C
9 lines
148 B
C
#include <unistd.h>
|
|
#include "syscall.h"
|
|
#include "libc.h"
|
|
|
|
int setreuid(uid_t ruid, uid_t euid)
|
|
{
|
|
return __setxid(SYS_setreuid, ruid, euid, 0);
|
|
}
|