signum.h 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. /* Signal number definitions. Linux/Alpha version.
  2. Copyright (C) 1996, 1997, 1998, 1999, 2003 Free Software Foundation, Inc.
  3. This file is part of the GNU C Library.
  4. The GNU C Library is free software; you can redistribute it and/or
  5. modify it under the terms of the GNU Lesser General Public
  6. License as published by the Free Software Foundation; either
  7. version 2.1 of the License, or (at your option) any later version.
  8. The GNU C Library is distributed in the hope that it will be useful,
  9. but WITHOUT ANY WARRANTY; without even the implied warranty of
  10. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  11. Lesser General Public License for more details.
  12. You should have received a copy of the GNU Lesser General Public
  13. License along with the GNU C Library; if not, see
  14. <http://www.gnu.org/licenses/>. */
  15. #ifdef _SIGNAL_H
  16. /*
  17. * Linux/AXP has different signal numbers that Linux/i386: I'm trying
  18. * to make it OSF/1 binary compatible, at least for normal binaries.
  19. */
  20. #define SIGHUP 1
  21. #define SIGINT 2
  22. #define SIGQUIT 3
  23. #define SIGILL 4
  24. #define SIGTRAP 5
  25. #define SIGABRT 6
  26. #define SIGEMT 7
  27. #define SIGFPE 8
  28. #define SIGKILL 9
  29. #define SIGBUS 10
  30. #define SIGSEGV 11
  31. #define SIGSYS 12
  32. #define SIGPIPE 13
  33. #define SIGALRM 14
  34. #define SIGTERM 15
  35. #define SIGURG 16
  36. #define SIGSTOP 17
  37. #define SIGTSTP 18
  38. #define SIGCONT 19
  39. #define SIGCHLD 20
  40. #define SIGCLD SIGCHLD
  41. #define SIGTTIN 21
  42. #define SIGTTOU 22
  43. #define SIGIO 23
  44. #define SIGXCPU 24
  45. #define SIGXFSZ 25
  46. #define SIGVTALRM 26
  47. #define SIGPROF 27
  48. #define SIGWINCH 28
  49. #define SIGINFO 29
  50. #define SIGUSR1 30
  51. #define SIGUSR2 31
  52. #define SIGPOLL SIGIO
  53. #define SIGPWR SIGINFO
  54. #define SIGIOT SIGABRT
  55. #endif /* <signal.h> included. */