File:  [DVB] / dietlibc / lib / sigisemptyset.c
Revision 1.3: download - view: text, annotated - select for diffs
Fri Oct 10 14:54:30 2014 UTC (9 years, 8 months ago) by leitner
Branches: MAIN
CVS tags: HEAD
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;
}

LinuxTV legacy CVS <linuxtv.org/cvs>