logo

utils-std

Collection of commonly available Unix tools git clone https://anongit.hacktivis.me/git/utils-std.git/

sys_signame.c (1547B)


  1. // utils-std: Collection of commonly available Unix tools
  2. // SPDX-FileCopyrightText: 2017 Haelwenn (lanodan) Monnier <contact+utils@hacktivis.me>
  3. // SPDX-License-Identifier: CC0-1.0 OR WTFPL
  4. // /!\ File generated by lib/sys_signame.sh avoid editing
  5. #include "sys_signame.h"
  6. const char *util_sys_signame[NSIG] = {
  7. #ifdef SIGABRT
  8. [SIGABRT] = "ABRT",
  9. #endif
  10. #ifdef SIGALRM
  11. [SIGALRM] = "ALRM",
  12. #endif
  13. #ifdef SIGBUS
  14. [SIGBUS] = "BUS",
  15. #endif
  16. #ifdef SIGCHLD
  17. [SIGCHLD] = "CHLD",
  18. #endif
  19. #ifdef SIGCONT
  20. [SIGCONT] = "CONT",
  21. #endif
  22. #ifdef SIGFPE
  23. [SIGFPE] = "FPE",
  24. #endif
  25. #ifdef SIGHUP
  26. [SIGHUP] = "HUP",
  27. #endif
  28. #ifdef SIGILL
  29. [SIGILL] = "ILL",
  30. #endif
  31. #ifdef SIGINT
  32. [SIGINT] = "INT",
  33. #endif
  34. #ifdef SIGKILL
  35. [SIGKILL] = "KILL",
  36. #endif
  37. #ifdef SIGPIPE
  38. [SIGPIPE] = "PIPE",
  39. #endif
  40. #ifdef SIGQUIT
  41. [SIGQUIT] = "QUIT",
  42. #endif
  43. #ifdef SIGSEGV
  44. [SIGSEGV] = "SEGV",
  45. #endif
  46. #ifdef SIGSTOP
  47. [SIGSTOP] = "STOP",
  48. #endif
  49. #ifdef SIGTERM
  50. [SIGTERM] = "TERM",
  51. #endif
  52. #ifdef SIGTSTP
  53. [SIGTSTP] = "TSTP",
  54. #endif
  55. #ifdef SIGTTIN
  56. [SIGTTIN] = "TTIN",
  57. #endif
  58. #ifdef SIGTTOU
  59. [SIGTTOU] = "TTOU",
  60. #endif
  61. #ifdef SIGUSR1
  62. [SIGUSR1] = "USR1",
  63. #endif
  64. #ifdef SIGUSR2
  65. [SIGUSR2] = "USR2",
  66. #endif
  67. #ifdef SIGWINCH
  68. [SIGWINCH] = "WINCH",
  69. #endif
  70. #ifdef SIGSYS
  71. [SIGSYS] = "SYS",
  72. #endif
  73. #ifdef SIGTRAP
  74. [SIGTRAP] = "TRAP",
  75. #endif
  76. #ifdef SIGURG
  77. [SIGURG] = "URG",
  78. #endif
  79. #ifdef SIGVTALRM
  80. [SIGVTALRM] = "VTALRM",
  81. #endif
  82. #ifdef SIGXCPU
  83. [SIGXCPU] = "XCPU",
  84. #endif
  85. #ifdef SIGXFSZ
  86. [SIGXFSZ] = "XFSZ",
  87. #endif
  88. };