signum.h 1.8 KB

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