]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
sigqueue.3: Update text in line with existence of new rt_sigqueueinfo.2 page
authorMichael Kerrisk <mtk.manpages@gmail.com>
Sun, 18 Sep 2011 03:56:03 +0000 (05:56 +0200)
committerMichael Kerrisk <mtk.manpages@gmail.com>
Mon, 19 Sep 2011 15:32:49 +0000 (17:32 +0200)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
man3/sigqueue.3

index 6cfa64673e37a4438c27e7efd2c8d8912df1f8b6..fdbe76e8db09f323e6ddac96ff22a86d570ff48e 100644 (file)
@@ -23,7 +23,7 @@
 .\" 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
@@ -120,9 +120,10 @@ having it unblocked, or by waiting for it using
 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
@@ -131,16 +132,16 @@ call.
 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"