summaryrefslogtreecommitdiffstats
path: root/man2/pidfd_send_signal.2
diff options
context:
space:
mode:
Diffstat (limited to 'man2/pidfd_send_signal.2')
-rw-r--r--man2/pidfd_send_signal.230
1 files changed, 15 insertions, 15 deletions
diff --git a/man2/pidfd_send_signal.2 b/man2/pidfd_send_signal.2
index 205808425..58961fb82 100644
--- a/man2/pidfd_send_signal.2
+++ b/man2/pidfd_send_signal.2
@@ -23,7 +23,7 @@ Standard C library
glibc provides no wrapper for
.BR pidfd_send_signal (),
necessitating the use of
-.BR syscall (2).
+.MR syscall 2 .
.SH DESCRIPTION
The
.BR pidfd_send_signal ()
@@ -40,7 +40,7 @@ If the
argument points to a
.I siginfo_t
buffer, that buffer should be populated as described in
-.BR rt_sigqueueinfo (2).
+.MR rt_sigqueueinfo 2 .
.P
If the
.I info
@@ -49,7 +49,7 @@ this is equivalent to specifying a pointer to a
.I siginfo_t
buffer whose fields match the values that are
implicitly supplied when a signal is sent using
-.BR kill (2):
+.MR kill 2 :
.P
.PD 0
.IP \[bu] 3
@@ -113,7 +113,7 @@ to the target process.
doesn't refer to the calling process, and
.I info.si_code
is invalid (see
-.BR rt_sigqueueinfo (2)).
+.MR rt_sigqueueinfo 2 ).
.TP
.B ESRCH
The target process does not exist
@@ -135,13 +135,13 @@ by opening a
directory;
.IP \[bu]
using
-.BR pidfd_open (2);
+.MR pidfd_open 2 ;
or
.IP \[bu]
via the PID file descriptor that is returned by a call to
-.BR clone (2)
+.MR clone 2
or
-.BR clone3 (2)
+.MR clone3 2
that specifies the
.B CLONE_PIDFD
flag.
@@ -150,7 +150,7 @@ The
.BR pidfd_send_signal ()
system call allows the avoidance of race conditions that occur
when using traditional interfaces (such as
-.BR kill (2))
+.MR kill 2 )
to signal a process.
The problem is that the traditional interfaces specify the target process
via a process ID (PID),
@@ -231,10 +231,10 @@ main(int argc, char *argv[])
.EE
.\" SRC END
.SH SEE ALSO
-.BR clone (2),
-.BR kill (2),
-.BR pidfd_open (2),
-.BR rt_sigqueueinfo (2),
-.BR sigaction (2),
-.BR pid_namespaces (7),
-.BR signal (7)
+.MR clone 2 ,
+.MR kill 2 ,
+.MR pidfd_open 2 ,
+.MR rt_sigqueueinfo 2 ,
+.MR sigaction 2 ,
+.MR pid_namespaces 7 ,
+.MR signal 7