rt_sigqueueinfo(2) System Calls Manual rt_sigqueueinfo(2) rt_sigqueueinfo, rt_tgsigqueueinfo - LIBRARY Standard C library (libc, -lc) #include /* SI_* */ #include /* SYS_* */ #include int syscall(SYS_rt_sigqueueinfo, pid_t tgid, int sig, siginfo_t *info); int syscall(SYS_rt_tgsigqueueinfo, pid_t tgid, pid_t tid, int sig, siginfo_t *info); : glibc ; . rt_sigqueueinfo() rt_tgsigqueueinfo() . , sigaction(2) SA_SIGINFO. ; sigqueue(3) pthread_sigqueue(3). rt_sigqueueinfo() sig tgid ( << >> <<>>, tid UNIX). (. ., , ). info . siginfo_t, sigaction(2) ( ). : si_code SI_*, Linux include/asm-generic/siginfo.h. , , : o . SI_USER, , kill(2), SI_KERNEL, , . o ( Linux 2.6.39) SI_TKILL, , tgkill(2). si_pid , PID . si_uid , UID . si_value , . (union sigval) sigqueue(3). si_signo , sig, . rt_tgsigqueueinfo() rt_sigqueueinfo(), , tgid -- -- tid -- . 0. -1, errno . EAGAIN ( signal(7)). EINVAL sig, tgid tid. EPERM . kill(2). EPERM tgid , info->si_code . ESRCH rt_sigqueueinfo(): tgid . rt_tgsigqueinfo(): tid tgid . Linux. rt_sigqueueinfo() Linux 2.2. rt_tgsigqueueinfo() Linux 2.6.31. , glibc . syscall(2) , . kill(2), null (0), , . kill(2), pidfd_send_signal(2), sigaction(2), sigprocmask(2), tgkill(2), pthread_sigqueue(3), sigqueue(3), signal(7) aereiae , Azamat Hackimov , Dmitriy S. Seregin , Katrin Kutepova , Lockal , Yuri Kozlov , ; GNU (GNU General Public License - GPL, 3 ) , - . - , , <>. Linux man-pages 6.8 2 2024 . rt_sigqueueinfo(2)