mirror of
https://github.com/ziglang/zig.git
synced 2026-01-30 19:23:37 +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
193 B
C
8 lines
193 B
C
#include <unistd.h>
|
|
#include "syscall.h"
|
|
|
|
ssize_t readlinkat(int fd, const char *restrict path, char *restrict buf, size_t bufsize)
|
|
{
|
|
return syscall(SYS_readlinkat, fd, path, buf, bufsize);
|
|
}
|