diff options
author | Bruno Haible <bruno@clisp.org> | 2020-08-23 00:50:41 +0200 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2020-08-23 00:51:15 +0200 |
commit | 6a78706ae230ad24bc06d33d9eddca25806ffb2a (patch) | |
tree | 8f6f4e379c7aa6d8b034bcb2977001847f828ffd /lib/sig2str.c | |
parent | d17a87bd3c4a5911a43c1775bcf8b015da270ae9 (diff) | |
download | gnulib-6a78706ae230ad24bc06d33d9eddca25806ffb2a.tar.gz |
sig2str: Add more signals.
* lib/sig2str.c (numname_table): Add SIGCPUFAIL, SIGTHR, SIGBREAK.
Diffstat (limited to 'lib/sig2str.c')
-rw-r--r-- | lib/sig2str.c | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/lib/sig2str.c b/lib/sig2str.c index 905daea2f2..cf7c3bb5c3 100644 --- a/lib/sig2str.c +++ b/lib/sig2str.c @@ -189,6 +189,11 @@ static struct numname { int num; char const name[8]; } numname_table[] = NUMNAME (STKFLT), #endif + /* AIX 7. */ +#ifdef SIGCPUFAIL + NUMNAME (CPUFAIL), +#endif + /* AIX 5L. */ #ifdef SIGDANGER NUMNAME (DANGER), @@ -229,7 +234,12 @@ static struct numname { int num; char const name[8]; } numname_table[] = NUMNAME (WINDOW), /* Older name for SIGWINCH. */ #endif - /* BeOS */ + /* OpenBSD. */ +#ifdef SIGTHR + NUMNAME (THR), +#endif + + /* BeOS, Haiku */ #ifdef SIGKILLTHR NUMNAME (KILLTHR), #endif @@ -239,6 +249,11 @@ static struct numname { int num; char const name[8]; } numname_table[] = NUMNAME (DIL), #endif + /* native Windows */ +#ifdef SIGBREAK + NUMNAME (BREAK), +#endif + /* Korn shell and Bash, of uncertain vintage. */ { 0, "EXIT" } }; |