diff options
author | Jim Meyering <jim@meyering.net> | 1997-09-15 14:18:15 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1997-09-15 14:18:15 +0000 |
commit | 312d78eca69c00eff8fa1a5290490ffce26b8820 (patch) | |
tree | 3a196da12cb381ce5080a9ccc7b54abc58167f4d /src/dd.c | |
parent | 6a4773b2d9a7b4b453ca338b45d1549ad460e51b (diff) | |
download | coreutils-312d78eca69c00eff8fa1a5290490ffce26b8820.tar.xz |
(install_handler): Rename from sig_handler.
Diffstat (limited to 'src/dd.c')
-rw-r--r-- | src/dd.c | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -340,7 +340,7 @@ siginfo_handler (int sig) /* Encapsulate portability mess of establishing signal handlers. */ static void -handle_sig (int sig_num, RETSIGTYPE (*sig_handler) (int sig)) +install_handler (int sig_num, RETSIGTYPE (*sig_handler) (int sig)) { #ifdef _POSIX_VERSION struct sigaction sigact; @@ -422,10 +422,10 @@ main (int argc, char **argv) output_file = _("standard output"); } - handle_sig (SIGINT, interrupt_handler); - handle_sig (SIGQUIT, interrupt_handler); - handle_sig (SIGPIPE, interrupt_handler); - handle_sig (SIGINFO, siginfo_handler); + install_handler (SIGINT, interrupt_handler); + install_handler (SIGQUIT, interrupt_handler); + install_handler (SIGPIPE, interrupt_handler); + install_handler (SIGINFO, siginfo_handler); copy (); } |