diff options
author | Jim Meyering <jim@meyering.net> | 2002-11-10 11:11:34 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2002-11-10 11:11:34 +0000 |
commit | bb38561062c417e7bb242fea6bef848599ee6766 (patch) | |
tree | d27f8963140e65a4b402bc07fb3dd4defd61198d /src/head.c | |
parent | 20282f499287003e4d435d181b65e799ac8bdd25 (diff) | |
download | coreutils-bb38561062c417e7bb242fea6bef848599ee6766.tar.xz |
(restore_default_color_handler, sigtstp_handler): Remove functions.
(sighandler): New function, based on the one in sort.c.
(main): Use sigaction, if possible; otherwise signal.
Handle these signals:
SIGHUP, SIGINT, SIGPIPE, SIGQUIT, SIGTERM, SIGTSTP.
Don't register our handler if the signal is already being ignored.
Diffstat (limited to 'src/head.c')
0 files changed, 0 insertions, 0 deletions