• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 #include <signal.h>
2 #include <string.h>
3 
sigemptyset(sigset_t * set)4 int sigemptyset(sigset_t *set)
5 {
6 	set->__bits[0] = 0;
7 	if (sizeof(long)==4 || _NSIG > 65) set->__bits[1] = 0;
8 	if (sizeof(long)==4 && _NSIG > 65) {
9 		set->__bits[2] = 0;
10 		set->__bits[3] = 0;
11 	}
12 	return 0;
13 }
14