mirror of
https://github.com/ziglang/zig.git
synced 2026-01-19 13:55:20 +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
10 lines
136 B
C
10 lines
136 B
C
#define _BSD_SOURCE
|
|
#include <unistd.h>
|
|
#include <errno.h>
|
|
#include "syscall.h"
|
|
|
|
int brk(void *end)
|
|
{
|
|
return __syscall_ret(-ENOMEM);
|
|
}
|