.\" added note on self-signaling, aeb, 2002-06-07
.\" added note on CAP_KILL, mtk, 2004-06-16
.\"
-.TH SIGQUEUE 2 2007-07-26 "Linux" "Linux Programmer's Manual"
+.TH SIGQUEUE 3 2011-09-18 "Linux" "Linux Programmer's Manual"
.SH NAME
sigqueue, rt_sigqueueinfo \- queue a signal and data to a process
.SH SYNOPSIS
then at least some signal must be delivered to this thread before this
function returns.
-On Linux, the underlying system call is actually named
-.BR rt_sigqueueinfo (),
-and differs in its third argument, which is the
+On Linux, this function is implemented using the
+.BR rt_sigqueueinfo (2)
+system call.
+The system call differs in its third argument, which is the
.I siginfo_t
structure that will be supplied to the receiving process's
signal handler or returned by the receiving process's
Inside the glibc
.BR sigqueue ()
wrapper, this argument,
-.IR info ,
+.IR uinfo ,
is initialized as follows:
.in +4n
.nf
-info.si_signo = sig; /* argument supplied to sigqueue() */
-info.si_code = SI_QUEUE;
-info.si_pid = getpid(); /* Process ID of sender */
-info.si_uid = getuid(); /* Real UID of sender */
-info.si_value = val; /* argument supplied to sigqueue() */
+uinfo.si_signo = sig; /* argument supplied to sigqueue() */
+uinfo.si_code = SI_QUEUE;
+uinfo.si_pid = getpid(); /* Process ID of sender */
+uinfo.si_uid = getuid(); /* Real UID of sender */
+uinfo.si_value = val; /* argument supplied to sigqueue() */
.fi
.in
.SH "SEE ALSO"