mirror of
https://github.com/ziglang/zig.git
synced 2025-12-06 14:23:09 +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
156 B
C
Vendored
9 lines
156 B
C
Vendored
|
|
int _chsize(int _FileHandle,long _Size);
|
|
int ftruncate(int __fd,int __length);
|
|
|
|
int ftruncate(int __fd,int __length)
|
|
{
|
|
return _chsize (__fd,__length);
|
|
}
|