signal.h 976 B

1234567891011121314151617181920212223242526
  1. /* $Id$ */
  2. /*
  3. * (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands.
  4. * See the copyright notice in the ACK home directory, in the file "Copyright".
  5. */
  6. #define NSIG 17
  7. #define SIGHUP 1 /* hangup */
  8. #define SIGINT 2 /* interrupt */
  9. #define SIGQUIT 3 /* quit */
  10. #define SIGILL 4 /* illegal instruction (not reset when caught) */
  11. #define SIGTRAP 5 /* trace trap (not reset when caught) */
  12. #define SIGIOT 6 /* IOT instruction */
  13. #define SIGEMT 7 /* EMT instruction */
  14. #define SIGFPE 8 /* floating point exception */
  15. #define SIGKILL 9 /* kill (cannot be caught or ignored) */
  16. #define SIGBUS 10 /* bus error */
  17. #define SIGSEGV 11 /* segmentation violation */
  18. #define SIGSYS 12 /* bad argument to system call */
  19. #define SIGPIPE 13 /* write on a pipe with no one to read it */
  20. #define SIGALRM 14 /* alarm clock */
  21. #define SIGTERM 15 /* software termination signal from kill */
  22. void (*signal())();
  23. #define SIG_DFL (void (*)())-2
  24. #define SIG_IGN (void (*)())-3