mirror of
https://github.com/ziglang/zig.git
synced 2025-12-16 11:13:08 +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
7 lines
90 B
C
Vendored
7 lines
90 B
C
Vendored
#include <stdlib.h>
|
|
|
|
div_t div(int num, int den)
|
|
{
|
|
return (div_t){ num/den, num%den };
|
|
}
|