mirror of
https://github.com/ziglang/zig.git
synced 2026-01-15 20:05:16 +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
8 lines
109 B
C
Vendored
8 lines
109 B
C
Vendored
#include <sys/fsuid.h>
|
|
#include "syscall.h"
|
|
|
|
int setfsuid(uid_t uid)
|
|
{
|
|
return syscall(SYS_setfsuid, uid);
|
|
}
|