musl - an implementation of the standard library for Linux-based systems
blob: ca9b89207f97bb59f6c6b754a6bb2ebbe50b5f01 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
|
#include <signal.h>
#include <string.h>
int sigemptyset(sigset_t *set)
{
set->__bits[0] = 0;
if (sizeof(long)==4) set->__bits[1] = 0;
return 0;
}
|