Lines Matching defs:signal
17 #include <signal.h> // sigaction
73 // Set the bit corresponding to |signal| in |set|. Return true on success
74 // and false on failure. The function will fail if |signal| is greater than
76 LIBC_INLINE constexpr bool add_signal(sigset_t &set, int signal) {
77 if (signal > NSIG || signal <= 0)
79 size_t n = size_t(signal) - 1;
86 // Reset the bit corresponding to |signal| in |set|. Return true on success
87 // and false on failure. The function will fail if |signal| is greater than
89 LIBC_INLINE constexpr bool delete_signal(sigset_t &set, int signal) {
90 if (signal > NSIG || signal <= 0)
92 size_t n = size_t(signal) - 1;