Hi, please see attached file for the rt_tgsigqueueinfo man page. This man page was derived from the discussion in http://help.lockergnome.com/linux/patch-add-rt_tgsigqueueinfo-syscall-V2-- ftopict495666.html Ciao Stephan
.TH RECVMMSG 2 2011-02-09 "Linux" "Linux Programmer's Manual" .SH NAME rt_tgsigqueueinfo \- Send signal information to a signal to a thread .SH SYNOPSIS .nf .BI "long sys_rt_tgsigqueueinfo (int " tgid ", int " tid ", int " sig , .BI " siginfo_t *" uinfo ); .fi .SH DESCRIPTION .BR rt_tgsigqueueinfo () sends the signal .I sig with the information .I uinfo to the thread with the thread ID .I tid in the thread group .IR tgid. By contrast, .BR rt_sigqueueinfo(2) can only be used to send a signal info to a process (i.e., thread group) s a whole, and the signal will be delivered to an arbitrary thread within that process. .SH RETURN VALUE .BR rt_tgsigqueueinfo () returns 0 on success. On error, \-1 is returned, and \fIerrno\fP is set appropriately. .SH ERRORS .B EFAULT An invalid value for .I uinfo was specified. .TP .B EINVAL An invalid .IR tid, .I TGID or .I sig was specified. .TP .B EPERM Permission denied. For the required permissions, see .BR rt_sigqueueinfo(2) . .B ESRCH No process with the specified .I tid and .I tgid exists. .SH SEE ALSO .B rt_sigqueueinfo(2)