home *** CD-ROM | disk | FTP | other *** search
/ minnie.tuhs.org / unixen.tar / unixen / PDP-11 / Trees / V7 / usr / include / signal.h < prev    next >
Encoding:
C/C++ Source or Header  |  1979-01-10  |  796 b   |  22 lines

  1. #define NSIG 17
  2.  
  3. #define    SIGHUP    1    /* hangup */
  4. #define    SIGINT    2    /* interrupt */
  5. #define    SIGQUIT    3    /* quit */
  6. #define    SIGILL    4    /* illegal instruction (not reset when caught) */
  7. #define    SIGTRAP    5    /* trace trap (not reset when caught) */
  8. #define    SIGIOT    6    /* IOT instruction */
  9. #define    SIGEMT    7    /* EMT instruction */
  10. #define    SIGFPE    8    /* floating point exception */
  11. #define    SIGKILL    9    /* kill (cannot be caught or ignored) */
  12. #define    SIGBUS    10    /* bus error */
  13. #define    SIGSEGV    11    /* segmentation violation */
  14. #define    SIGSYS    12    /* bad argument to system call */
  15. #define    SIGPIPE    13    /* write on a pipe with no one to read it */
  16. #define    SIGALRM    14    /* alarm clock */
  17. #define    SIGTERM    15    /* software termination signal from kill */
  18.  
  19. int    (*signal())();
  20. #define    SIG_DFL    (int (*)())0
  21. #define    SIG_IGN    (int (*)())1
  22.