sigpause(3) Library Functions Manual sigpause(3) sigpause - LIBRARY Standard C library (libc, -lc) #include [[deprecated]] int sigpause(int sigmask); /* BSD (but see NOTES) */ [[deprecated]] int sigpause(int sig); /* POSIX.1 / SysV / UNIX 95 */ . sigsuspend(2). sigpause() - . ( ) . . sigpause() , , -1, errno EINTR. attributes(7). +----------------------------+----------------------------------------------------------+--------------------------+ | | | | +----------------------------+----------------------------------------------------------+--------------------------+ |sigpause() | | MT-Safe | +----------------------------+----------------------------------------------------------+--------------------------+ Linux Sparc (sparc64). glibc uses the BSD version if the _BSD_SOURCE feature test macro is defined and none of _POSIX_SOURCE, _POSIX_C_SOURCE, _XOPEN_SOURCE, _GNU_SOURCE, or _SVID_SOURCE is defined. Otherwise, the System V version is used, and feature test macros must be defined as follows to obtain the declaration: o glibc 2.26: _XOPEN_SOURCE >= 500 o glibc 2.25 and earlier: _XOPEN_SOURCE glibc 2.19, System V; , BSD- sigpause(), sigsuspend(2). POSIX.1-2008. POSIX.1-2001. Obsoleted in POSIX.1-2008. BSD- 4.2BSD. sigmask. UNIX 95 System V , sig. sigsuspend(2), sigset_t * ( int). . kill(2), sigaction(2), sigprocmask(2), sigsuspend(2), sigblock(3), sigvec(3), feature_test_macros(7) Alexander Golubev , Azamat Hackimov , Hotellook, Nikita , Spiros Georgaras , Vladislav , Yuri Kozlov ; GNU 3 , . . , , . Linux man-pages 6.06 31 2023 . sigpause(3)