sigwait(3) Library Functions Manual sigwait(3) sigwait - (libc -lc) #include int sigwait(const sigset_t *restrict set, int *restrict sig); glibc ( feature_test_macros(7)): sigwait(): glibc 2.26: _POSIX_C_SOURCE >= 199506L glibc 2.25 : _POSIX_C_SOURCE sigwait() set . sigprocmask(2). ( ) sig. sigwait() sigwaitinfo(2) : o sigwait() siginfo_t . o . sigwait() 0. ( ). EINVAL set . attributes(7). +------------+------------------------------------+--------------------+ || | | +------------+------------------------------------+--------------------+ |sigwait() | | MT-Safe | +------------+------------------------------------+--------------------+ sigwait() sigtimedwait(2); . glibc sigwait() NPTL. nptl(7) . POSIX.1-2008. POSIX.1-2001. pthread_sigmask(3). sigaction(2), signalfd(2), sigpending(2), sigsuspend(2), sigwaitinfo(2), sigsetops(3), signal(7) 3 . . : . 6.18 17 2025 sigwait(3)