MCPcopy Create free account
hub / github.com/coreutils/coreutils / sighandler

Function sighandler

src/sort.c:390–397  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

388/* Handle interrupts and hangups. */
389
390static void
391sighandler (int sig)
392{
393 cleanup ();
394
395 signal (sig, SIG_DFL);
396 raise (sig);
397}
398
399/* Report MESSAGE for FILE, then clean up and exit.
400 If FILE is null, it represents standard output. */

Callers 1

sort_dieFunction · 0.70

Calls 1

cleanupFunction · 0.70

Tested by

no test coverage detected