Searched refs:setsig (Results 1 – 1 of 1) sorted by relevance
1521 static void setsig(int sig, void (*handler)(int)) in setsig() function1542 setsig(SIGINT, sigint); in sigint()1767 setsig(SIGWINCH, get_termwidth); in process()1771 setsig(SIGTERM, sigint); /* Stop gracefully, as soon as we possibly can. */ in process()1772 setsig(SIGINT , sigint); /* Either skip current input or behave as SIGTERM. */ in process()2902 setsig(SIGINT, SIG_IGN); /* So child pipes aren't killed by track skip */ in main()2949 setsig(SIGINT, SIG_DFL); in main()