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
11 lines
201 B
C
Vendored
11 lines
201 B
C
Vendored
#define _GNU_SOURCE
|
|
#include <signal.h>
|
|
#include <string.h>
|
|
|
|
int sigisemptyset(const sigset_t *set)
|
|
{
|
|
for (size_t i=0; i<_NSIG/8/sizeof *set->__bits; i++)
|
|
if (set->__bits[i]) return 0;
|
|
return 1;
|
|
}
|