summaryrefslogtreecommitdiffstats
path: root/man3/sigqueue.3
diff options
context:
space:
mode:
Diffstat (limited to 'man3/sigqueue.3')
-rw-r--r--man3/sigqueue.317
1 files changed, 8 insertions, 9 deletions
diff --git a/man3/sigqueue.3 b/man3/sigqueue.3
index 98238a4..99ea60f 100644
--- a/man3/sigqueue.3
+++ b/man3/sigqueue.3
@@ -6,7 +6,7 @@
.\" added note on self-signaling, aeb, 2002-06-07
.\" added note on CAP_KILL, mtk, 2004-06-16
.\"
-.TH sigqueue 3 2023-07-20 "Linux man-pages 6.05.01"
+.TH sigqueue 3 2023-10-31 "Linux man-pages 6.7"
.SH NAME
sigqueue \- queue a signal and data to a process
.SH LIBRARY
@@ -15,15 +15,15 @@ Standard C library
.SH SYNOPSIS
.nf
.B #include <signal.h>
-.PP
+.P
.BI "int sigqueue(pid_t " pid ", int " sig ", const union sigval " value );
.fi
-.PP
+.P
.RS -4
Feature Test Macro Requirements for glibc (see
.BR feature_test_macros (7)):
.RE
-.PP
+.P
.BR sigqueue ():
.nf
_POSIX_C_SOURCE >= 199309L
@@ -40,12 +40,12 @@ As with
.BR kill (2),
the null signal (0) can be used to check if a process with a given
PID exists.
-.PP
+.P
The
.I value
argument is used to specify an accompanying item of data (either an integer
or a pointer value) to be sent with the signal, and has the following type:
-.PP
+.P
.in +4n
.EX
union sigval {
@@ -54,7 +54,7 @@ union sigval {
};
.EE
.in
-.PP
+.P
If the receiving process has installed a handler for this signal using the
.B SA_SIGINFO
flag to
@@ -111,7 +111,6 @@ T{
.BR sigqueue ()
T} Thread safety MT-Safe
.TE
-.sp 1
.SH VERSIONS
.SS C library/kernel differences
On Linux,
@@ -130,7 +129,7 @@ Inside the glibc
wrapper, this argument,
.IR uinfo ,
is initialized as follows:
-.PP
+.P
.in +4n
.EX
uinfo.si_signo = sig; /* Argument supplied to sigqueue() */