Skip to contentSkip to conversation

prctl.2: srcfix

PATCH In review G. Branden Robinson 2 participants 2 messages Jul 28, 2023 Man-pages: manual pages for Linux -- Sections 2, 3, 4, 5, and 7

lore
Share & tools
lore
#0 lore raw

PATCH 5/6 prctl.2: srcfix

Clean up in preparation for "MR sed".

From d37895afc8d4b7bef3ec08cbacc6a1849570f00a Mon Sep 17 00:00:00 2001
From: "G. Branden Robinson" <[email protected]>
Date: Fri, 28 Jul 2023 12:08:06 -0500
Subject: [PATCH 5/6] prctl.2: srcfix

Recognize that the man(7) macro RB exists. Use it in favor of \c since only two font styles are required in alternation.

---
 man2/prctl.2 | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
man2/prctl.2 +2 -2
index fe403d76a..63369fb4b 100644
@@ -1050,8 +1050,8 @@ .SH DESCRIPTION
 .BR PR_SET_PDEATHSIG " (since Linux 2.1.57)"
 Set the parent-death signal
 of the calling process to \fIarg2\fP (either a signal value
-in the range 1..\c
-.BR NSIG "\-1" ,
+in the range
+.RB 1.. NSIG \-1,
 or 0 to clear).
 This is the signal that the calling process will get when its
 parent dies.
Signature · 1 line
2.30.2
#1 lore raw

Hi Branden,

Quoted 20 lines · G. Branden Robinson

Clean up in preparation for "MR sed".

From d37895afc8d4b7bef3ec08cbacc6a1849570f00a Mon Sep 17 00:00:00 2001
From: "G. Branden Robinson" <[email protected]>
Date: Fri, 28 Jul 2023 12:08:06 -0500
Subject: [PATCH 5/6] prctl.2: srcfix

Recognize that the man(7) macro RB exists. Use it in favor of \c since only two font styles are required in alternation.

---
 man2/prctl.2 | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
man2/prctl.2 +0 -0
index fe403d76a..63369fb4b 100644

man2/prctl.2 .SH DESCRIPTION · line 1054

Quoted 7 lines
man2/prctl.2 +2 -2
@@ -1050,8 +1050,8 @@ .SH DESCRIPTION
 .BR PR_SET_PDEATHSIG " (since Linux 2.1.57)"
 Set the parent-death signal
 of the calling process to \fIarg2\fP (either a signal value
-in the range 1..\c
-.BR NSIG "\-1" ,
+in the range
+.RB 1.. NSIG \-1,

I prefer using mathematical notation. I applied the following instead:

<https://git.kernel.org/pub/scm/docs/man-pages/man-pages.git/commit/?id=d7ec31628938c8261a1f00d3c273de4f7407ccee>

Cheers,
Alex

Quoted 3 lines
man2/prctl.2 +0 -0
 or 0 to clear).
 This is the signal that the calling process will get when its
 parent dies.
Signature · 2 lines
<http://www.alejandro-colomar.es/>
GPG key fingerprint: A9348594CE31283A826FBDD8D57633D441E25BB5