Add SIGTERM reaction -- cleanup

This commit is contained in:
ache 1994-10-31 03:07:39 +00:00
parent 4c32d7dc6b
commit 669c3d9a1a

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