Home
last modified time | relevance | path

Searched refs:new_sigaction (Results 1 – 1 of 1) sorted by relevance

/freebsd/contrib/ncurses/ncurses/tty/
H A Dlib_tstp.c395 static sigaction_t new_sigaction, old_sigaction; in _nc_signal_handler() local
398 new_sigaction.sa_handler = SIG_IGN; in _nc_signal_handler()
399 sigaction(SIGTSTP, &new_sigaction, &old_sigaction); in _nc_signal_handler()
400 } else if (new_sigaction.sa_handler != SIG_DFL) { in _nc_signal_handler()
404 sigemptyset(&new_sigaction.sa_mask); in _nc_signal_handler()
406 new_sigaction.sa_flags |= SA_RESTART; in _nc_signal_handler()
408 new_sigaction.sa_handler = handle_SIGTSTP; in _nc_signal_handler()
409 (void) sigaction(SIGTSTP, &new_sigaction, NULL); in _nc_signal_handler()