signum.h 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. /* Signal number definitions. Linux/SPARC version.
  2. Copyright (C) 1996, 1997, 1998, 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/SPARC 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 SIGIOT 6
  27. #define SIGEMT 7
  28. #define SIGFPE 8
  29. #define SIGKILL 9
  30. #define SIGBUS 10
  31. #define SIGSEGV 11
  32. #define SIGSYS 12
  33. #define SIGPIPE 13
  34. #define SIGALRM 14
  35. #define SIGTERM 15
  36. #define SIGURG 16
  37. /* SunOS values which deviate from the Linux/i386 ones */
  38. #define SIGSTOP 17
  39. #define SIGTSTP 18
  40. #define SIGCONT 19
  41. #define SIGCHLD 20
  42. #define SIGCLD SIGCHLD /* Same as SIGCHLD (System V). */
  43. #define SIGTTIN 21
  44. #define SIGTTOU 22
  45. #define SIGIO 23
  46. #define SIGPOLL SIGIO /* SysV name for SIGIO */
  47. #define SIGXCPU 24
  48. #define SIGXFSZ 25
  49. #define SIGVTALRM 26
  50. #define SIGPROF 27
  51. #define SIGWINCH 28
  52. #define SIGLOST 29
  53. #define SIGPWR SIGLOST
  54. #define SIGUSR1 30
  55. #define SIGUSR2 31
  56. #endif /* <signal.h> included. */