mirror of
https://github.com/ziglang/zig.git
synced 2025-12-14 10:13: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
11 lines
204 B
C
Vendored
11 lines
204 B
C
Vendored
#define _GNU_SOURCE
|
|
#include <unistd.h>
|
|
#include <fcntl.h>
|
|
|
|
int euidaccess(const char *filename, int amode)
|
|
{
|
|
return faccessat(AT_FDCWD, filename, amode, AT_EACCESS);
|
|
}
|
|
|
|
weak_alias(euidaccess, eaccess);
|