Subversion Repositories Kolibri OS

Rev

Go to most recent revision | Blame | Last modification | View Log | Download | RSS feed

  1. /* Copyright (C) 1995 DJ Delorie, see COPYING.DJ for details */
  2. #include <errno.h>
  3. #include <signal.h>
  4.  
  5. int
  6. sigfillset(sigset_t *_set)
  7. {
  8.   if (_set == 0)
  9.   {
  10.     errno = EINVAL;
  11.     return -1;
  12.   }
  13.   sigemptyset(_set);
  14.   _set->__bits[9] = 0x7fff; /* SIGABRT (288) .. SIGTRAP (302) */
  15.   return 0;
  16. }
  17.