Searched refs:orig_sig (Results 1 – 2 of 2) sorted by relevance
272 int orig_sig; in test_set_and_get_sig() local279 orig_sig = TEST_RETURN; in test_set_and_get_sig()281 if (orig_sig == 0 || orig_sig == SIGIO) in test_set_and_get_sig()303 TEST(fcntl(test_fd, F_SETSIG, orig_sig)); in test_set_and_get_sig()
2068 } orig_sig[MAX_SIGNALS]; variable2098 orig_sig[sig_num].handler = signal(sig_num, handler); in install_sig_handler()2100 if (orig_sig[sig_num].handler == SIG_ERR) in install_sig_handler()2103 orig_sig[sig_num].installed = true; in install_sig_handler()2118 for (i = 0; i < ARRAY_SIZE(orig_sig); i++) in restore_all_sig_handler()