signum.h 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  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, write to the Free
  14. Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
  15. 02111-1307 USA. */
  16. #ifdef _SIGNAL_H
  17. /*
  18. * Linux/SPARC has different signal numbers that Linux/i386: I'm trying
  19. * to make it OSF/1 binary compatible, at least for normal binaries.
  20. */
  21. #define SIGHUP 1
  22. #define SIGINT 2
  23. #define SIGQUIT 3
  24. #define SIGILL 4
  25. #define SIGTRAP 5
  26. #define SIGABRT 6
  27. #define SIGIOT 6
  28. #define SIGEMT 7
  29. #define SIGFPE 8
  30. #define SIGKILL 9
  31. #define SIGBUS 10
  32. #define SIGSEGV 11
  33. #define SIGSYS 12
  34. #define SIGPIPE 13
  35. #define SIGALRM 14
  36. #define SIGTERM 15
  37. #define SIGURG 16
  38. /* SunOS values which deviate from the Linux/i386 ones */
  39. #define SIGSTOP 17
  40. #define SIGTSTP 18
  41. #define SIGCONT 19
  42. #define SIGCHLD 20
  43. #define SIGCLD SIGCHLD /* Same as SIGCHLD (System V). */
  44. #define SIGTTIN 21
  45. #define SIGTTOU 22
  46. #define SIGIO 23
  47. #define SIGPOLL SIGIO /* SysV name for SIGIO */
  48. #define SIGXCPU 24
  49. #define SIGXFSZ 25
  50. #define SIGVTALRM 26
  51. #define SIGPROF 27
  52. #define SIGWINCH 28
  53. #define SIGLOST 29
  54. #define SIGPWR SIGLOST
  55. #define SIGUSR1 30
  56. #define SIGUSR2 31
  57. #endif /* <signal.h> included. */