aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstddjb/sig_table.c
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2025-11-04 15:44:18 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2025-11-04 15:44:18 +0000
commit32ac3aa6ac8f0dc9a240611a3696c0e5510b841d (patch)
treee90307b76f90493739ad31506a9890c4c82c22a3 /src/libstddjb/sig_table.c
parent81c0e9dc69dcb2a5e498ee53ce47acef06ab4f77 (diff)
downloadskalibs-32ac3aa6ac8f0dc9a240611a3696c0e5510b841d.tar.gz
Optimize sig_name and sig_number, add stringkey_bcasecmp etc.
Diffstat (limited to 'src/libstddjb/sig_table.c')
-rw-r--r--src/libstddjb/sig_table.c86
1 files changed, 0 insertions, 86 deletions
diff --git a/src/libstddjb/sig_table.c b/src/libstddjb/sig_table.c
deleted file mode 100644
index 9d3bad8..0000000
--- a/src/libstddjb/sig_table.c
+++ /dev/null
@@ -1,86 +0,0 @@
- /* ISC license. */
-
-#include <skalibs/nonposix.h>
-
-#include <signal.h>
-
-#include "sig-internal.h"
-
-sigtable const skalibs_sigtable[] =
-{
- { SIGABRT, "ABRT" },
- { SIGALRM, "ALRM" },
- { SIGBUS, "BUS" },
- { SIGCHLD, "CHLD" },
- { SIGCONT, "CONT" },
- { SIGFPE, "FPE" },
- { SIGHUP, "HUP" },
- { SIGILL, "ILL" },
- { SIGINT, "INT" },
- { SIGKILL, "KILL" },
- { SIGPIPE, "PIPE" },
- { SIGQUIT, "QUIT" },
- { SIGSEGV, "SEGV" },
- { SIGSTOP, "STOP" },
- { SIGTERM, "TERM" },
- { SIGTSTP, "TSTP" },
- { SIGTTIN, "TTIN" },
- { SIGTTOU, "TTOU" },
- { SIGUSR1, "USR1" },
- { SIGUSR2, "USR2" },
-#ifdef SIGPOLL
- { SIGPOLL, "POLL" },
-#endif
-#ifdef SIGPROF
- { SIGPROF, "PROF" },
-#endif
-#ifdef SIGSYS
- { SIGSYS, "SYS" },
-#endif
-#ifdef SIGTRAP
- { SIGTRAP, "TRAP" },
-#endif
-#ifdef SIGURG
- { SIGURG, "URG" },
-#endif
-#ifdef SIGVTALRM
- { SIGVTALRM, "VTALRM" },
-#endif
-#ifdef SIGXCPU
- { SIGXCPU, "XCPU" },
-#endif
-#ifdef SIGXFSZ
- { SIGXFSZ, "XFSZ" },
-#endif
-#ifdef SIGIOT
- { SIGIOT, "IOT" },
-#endif
-#ifdef SIGEMT
- { SIGEMT, "EMT" },
-#endif
-#ifdef SIGSTKFLT
- { SIGSTKFLT, "STKFLT" },
-#endif
-#ifdef SIGCLD
- { SIGCLD, "CLD" },
-#endif
-#ifdef SIGWINCH
- { SIGWINCH, "WINCH" },
-#endif
-#ifdef SIGIO
- { SIGIO, "IO" },
-#endif
-#ifdef SIGINFO
- { SIGINFO, "INFO" },
-#endif
-#ifdef SIGLOST
- { SIGLOST, "LOST" },
-#endif
-#ifdef SIGPWR
- { SIGPWR, "PWR" },
-#endif
-#ifdef SIGUNUSED
- { SIGUNUSED, "UNUSED" },
-#endif
- { 0, 0 }
-} ;