Add SIGTERM reaction -- cleanup

This commit is contained in:
ache 1994-10-31 03:07:39 +00:00
parent 1182d55050
commit 0a31f7f9d2

View File

@ -127,6 +127,7 @@ char *use_it = _ncurses_copyright;
sigemptyset(&act.sa_mask);
act.sa_flags = 0;
sigaction(SIGINT, &act, NULL);
sigaction(SIGTERM, &act, NULL);
#if 0
sigaction(SIGSEGV, &act, NULL);
#endif