diff options
| author | tgoodwin <tgoodwin> | 1998-07-08 16:56:42 +0000 |
|---|---|---|
| committer | Toby Goodwin <toby@paccrat.org> | 2015-05-16 21:23:06 +0100 |
| commit | d8c86b86c069c39cfc67a9c7eee1cbb7531dc122 (patch) | |
| tree | 5e938b26e3a11f4b9ed740f61add8fac8922063c /mksignal.c | |
| parent | 9e7205844ec6db007490ecca820e952300ee862e (diff) | |
SIGINT and SIGPIPE should be silent
,
Diffstat (limited to 'mksignal.c')
| -rw-r--r-- | mksignal.c | 10 |
1 files changed, 8 insertions, 2 deletions
@@ -56,9 +56,12 @@ static signaming signamings[] = { #ifdef SIGILL { SIGILL, "sigill", "illegal instruction"}, #endif + +/* We don't want a default message for SIGINT. */ #ifdef SIGINT - { SIGINT, "sigint", "interrupt"}, + { SIGINT, "sigint", ""}, #endif + #ifdef SIGIO { SIGIO, "sigio", "socket i/o possible"}, #endif @@ -74,9 +77,12 @@ static signaming signamings[] = { #ifdef SIGLWP { SIGLWP, "siglwp", "thread library signal"}, #endif + +/* By default, SIGPIPEs are silent. */ #ifdef SIGPIPE - { SIGPIPE, "sigpipe", "broken pipe"}, + { SIGPIPE, "sigpipe", ""}, #endif + #ifdef SIGPOLL { SIGPOLL, "sigpoll", "pollable event occurred"}, #endif |