mirror of
https://github.com/ziglang/zig.git
synced 2026-01-18 05:15:18 +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
195 B
C
9 lines
195 B
C
#define _GNU_SOURCE
|
|
#include <fcntl.h>
|
|
#include "syscall.h"
|
|
|
|
ssize_t vmsplice(int fd, const struct iovec *iov, size_t cnt, unsigned flags)
|
|
{
|
|
return syscall(SYS_vmsplice, fd, iov, cnt, flags);
|
|
}
|