Home
last modified time | relevance | path

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

/bionic/libc/bionic/
Dsignal.cpp240 if (disp != SIG_HOLD) new_sa = { .sa_handler = disp }; in sigset()
243 if (sigaction64(sig, (disp == SIG_HOLD) ? nullptr : &new_sa, &old_sa) == -1) { in sigset()
250 if (sigprocmask64(disp == SIG_HOLD ? SIG_BLOCK : SIG_UNBLOCK, &new_mask, &old_mask) == -1) { in sigset()
254 return sigismember64(&old_mask, sig) ? SIG_HOLD : old_sa.sa_handler; in sigset()
/bionic/tests/
Dsignal_test.cpp517 sigset(i, SIG_HOLD); in TEST()
930 ASSERT_EQ(signal_handler, sigset(SIGRTMIN, SIG_HOLD)); in TEST()
937 ASSERT_EQ(SIG_HOLD, sigset(SIGRTMIN, signal_handler)); in TEST()
961 ASSERT_EQ(SIG_HOLD, sigset(SIGALRM, signal_handler)); in TEST()
973 ASSERT_EQ(SIG_DFL, sigset(SIGALRM, SIG_HOLD)); in TEST()
/bionic/libc/include/
Dsignal.h49 #define SIG_HOLD __BIONIC_CAST(reinterpret_cast, sighandler_t, 2) macro
/bionic/tests/headers/posix/
Dsignal_h.c37 h = SIG_HOLD; in signal_h()