File:  [DVB] / dietlibc / lib / sigemptyset.c
Revision 1.6: 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

#include <signal.h>

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


LinuxTV legacy CVS <linuxtv.org/cvs>