mirror of
https://github.com/ziglang/zig.git
synced 2026-01-03 12:03:19 +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
166 B
C
Vendored
9 lines
166 B
C
Vendored
#include <sys/personality.h>
|
|
#include "syscall.h"
|
|
#ifdef SYS_personality
|
|
int personality(unsigned long persona)
|
|
{
|
|
return syscall(SYS_personality, persona);
|
|
}
|
|
#endif
|