Return to sigisemptyset.c CVS log | Up to [DVB] / dietlibc / lib |
add getcontext and setcontext for i386 and x86_64
#define _GNU_SOURCE #include <signal.h> int sigisemptyset(const sigset_t*set) { unsigned long ret; ret=set->sig[0]; if (_SIGSET_WORDS>1) ret|=set->sig[1]; if (_SIGSET_WORDS>2) { ret|=set->sig[2]; ret|=set->sig[3]; } return ret != 0; }