home *** CD-ROM | disk | FTP | other *** search
/ Piper's Pit BBS/FTP: ibm 0000 - 0009 / ibm0000-0009 / ibm0003.tar / ibm0003 / C_DISK2.ZIP / SIGNAL.H < prev    next >
Encoding:
C/C++ Source or Header  |  1988-01-23  |  571 b   |  23 lines

  1. /*_ signal.h   Mon May  4 1987 */
  2.  
  3. #ifndef SIGNAL_H
  4. #define SIGNAL_H    1
  5.  
  6. typedef volatile int sig_atomic_t;
  7.  
  8. #define SIG_DFL        (void (*)(int))    0
  9. #define SIG_ERR        (void (*)(int))    1
  10. #define SIG_IGN        (void (*)(int))    2
  11.  
  12. #define SIGABRT    0        /* abort            */
  13. #define SIGFPE    1        /* floating point error        */
  14. #define SIGILL    2        /* illegal instruction        */
  15. #define SIGINT    3        /* interrupt            */
  16. #define SIGSEGV    4        /* segment violation        */
  17. #define SIGTERM    5        /* terminate (control-break)    */
  18.  
  19. void (*signal(int,void (*)(int)))(int);
  20. int raise(int);
  21.  
  22. #endif /* SIGNAL_H */
  23.