You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

13 lines
249 B

#include <signal.h>
#include <string.h>
int sigemptyset(sigset_t *set)
{
set->__bits[0] = 0;
if (sizeof(long)==4 || _NSIG > 65) set->__bits[1] = 0;
if (sizeof(long)==4 && _NSIG > 65) {
set->__bits[2] = 0;
set->__bits[3] = 0;
}
return 0;
}