File:  [DVB] / dietlibc / lib / sigfillset.c
Revision 1.7: download - view: text, annotated - select for diffs
Fri Oct 10 14:54:30 2014 UTC (9 years, 7 months ago) by leitner
Branches: MAIN
CVS tags: HEAD
add getcontext and setcontext for i386 and x86_64

#include <signal.h>

int sigfillset(sigset_t *set) {
  set->sig[0]=(unsigned long)-1;
  if (_SIGSET_WORDS>1) set->sig[1]=(unsigned long)-1;
  if (_SIGSET_WORDS>2) {
    set->sig[2]=(unsigned long)-1;
    set->sig[3]=(unsigned long)-1;
  }
  return 0;
}

LinuxTV legacy CVS <linuxtv.org/cvs>