summaryrefslogblamecommitdiff
path: root/src/signal/sigisemptyset.c
blob: e24105144497645235162d7a60b0d33d2ac5b546 (plain) (tree)
1
2
3
4
5
6
7
8
9








                                         
#define _GNU_SOURCE
#include <signal.h>
#include <string.h>

int sigisemptyset(const sigset_t *set)
{
	static const sigset_t zeroset;
	return !memcmp(set, &zeroset, 8);
}