sigpending(2) System Calls Manual sigpending(2) sigpending, rt_sigpending - LIBRARY Standard C library (libc, -lc) #include int sigpending(sigset_t *set); glibc (. feature_test_macros(7)): sigpending(): _POSIX_C_SOURCE sigpending() , (.., , ). set. sigpending() returns 0 on success. On failure, -1 is returned and errno is set to indicate the error. EFAULT set . POSIX.1-2008. POSIX.1-2001. C , Linux sigpending(). , Linux 2.2, 32- sigset_t , , . rt_sigpending() sigset_t. , size_t sigsetsize, ( ) set. glibc sigpending() rt_sigpending(), . sigsetops(3). <<>>, . , , , , (. signal(7)). , fork(2), ; execve(2). Up to and including glibc 2.2.1, there is a bug in the wrapper function for sigpending() which means that information about pending real-time signals is not correctly returned. . kill(2), sigaction(2), signal(2), sigprocmask(2), sigsuspend(2), sigsetops(3), signal(7) Alexander Golubev , Azamat Hackimov , Hotellook, Nikita , Spiros Georgaras , Vladislav , Yuri Kozlov ; GNU 3 , . . , , . Linux man-pages 6.06 31 2023 . sigpending(2)