summaryrefslogtreecommitdiff
path: root/lib/libc/signal/sigemptyset.c
blob: a5c8958e458063d081d10e46575068320971743c (plain)
1
2
3
4
5
6
7
8
9
10
#include <signal.h> // for sigemptyset, sigset_t

int sigemptyset(sigset_t *set)
{
	if (!set)
		return -1;
	*set = 0;

	return 0;
}