rt_tgsigqueueinfo man page
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 NAMErt_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)
Hi Stephan,
Quoted 7 lines · Stephan Mueller
Hi,
please see attached file for the
rt_tgsigqueueinfoman page.This man page was derived from the discussion in
http://help.lockergnome.com/linux/patch-add-rt_tgsigqueueinfo-syscall-V2--
ftopict495666.html
Thanks for that. It was long on my TODO list to write some proper documentation for this system call. But what is really needed is a page that combines rt_sigqueueinfo() (which was incompletely documented in the "sigqueue.2" page) and rt_tgsigqueueinfo(). I've done that now. See my other mail on the topic.
Best regards,
Michael
Signature · 7 lines
Michael Kerrisk Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/ Author of "The Linux Programming Interface"; http://man7.org/tlpi/ -- To unsubscribe from this list: send the line "unsubscribe linux-man" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html