[PATCH 06/11] man2/reboot.2: punctuate hex in docs with digit separators

Brian Inglis
2023-02-05T23:59:12Z

[-- Attachment #1: Type: text/plain, Size: 101 bytes --]

---
man2/reboot.2 | 24 ++++++++++++------------
1 file changed, 12 insertions(+), 12 deletions(-)

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0006-man2-reboot.2-punctuate-hex-in-docs-with-digit-separ.patch --]
[-- Type: text/x-patch; name="0006-man2-reboot.2-punctuate-hex-in-docs-with-digit-separ.patch", Size: 2859 bytes --]

diff --git a/man2/reboot.2 b/man2/reboot.2
index d20fdf31a451..1d65bf18691d 100644
--- a/man2/reboot.2
+++ b/man2/reboot.2
@@ -47,20 +47,20 @@ unless
.I magic
equals
.B LINUX_REBOOT_MAGIC1
-(that is, 0xfee1dead) and
+(that is, 0xfee1\[aq]dead) and
.I magic2
equals
.B LINUX_REBOOT_MAGIC2
-(that is, 0x28121969).
+(that is 0x2812\[aq]1969).
However, since Linux 2.1.17 also
.B LINUX_REBOOT_MAGIC2A
-(that is, 0x05121996)
+(that is 0x0512\[aq]1996)
and since Linux 2.1.97 also
.B LINUX_REBOOT_MAGIC2B
-(that is, 0x16041998)
+(that is 0x1604\[aq]1998)
and since Linux 2.5.71 also
.B LINUX_REBOOT_MAGIC2C
-(that is, 0x20112000)
+(that is 0x2011\[aq]2000)
are permitted as values for
.IR magic2 .
(The hexadecimal values of these constants are meaningful.)
@@ -81,7 +81,7 @@ proper action (maybe: kill all processes, sync, reboot).
.TP
.B LINUX_REBOOT_CMD_CAD_ON
.RB ( RB_ENABLE_CAD ,
-0x89abcdef).
+0x89ab\[aq]cdef).
CAD is enabled.
This means that the CAD keystroke will immediately cause
the action associated with
@@ -89,7 +89,7 @@ the action associated with
.TP
.B LINUX_REBOOT_CMD_HALT
.RB ( RB_HALT_SYSTEM ,
-0xcdef0123; since Linux 1.1.76).
+0xcdef\[aq]0123; since Linux 1.1.76).
The message "System halted." is printed, and the system is halted.
Control is given to the ROM monitor, if there is one.
If not preceded by a
@@ -98,7 +98,7 @@ data will be lost.
.TP
.B LINUX_REBOOT_CMD_KEXEC
.RB ( RB_KEXEC ,
-0x45584543, since Linux 2.6.13).
+0x4558\[aq]4543; since Linux 2.6.13).
Execute a kernel that has been loaded earlier with
.BR kexec_load (2).
This option is available only if the kernel was configured with
@@ -106,7 +106,7 @@ This option is available only if the kernel was configured with
.TP
.B LINUX_REBOOT_CMD_POWER_OFF
.RB ( RB_POWER_OFF ,
-0x4321fedc; since Linux 2.1.30).
+0x4321\[aq]fedc; since Linux 2.1.30).
The message "Power down." is printed, the system is stopped,
and all power is removed from the system, if possible.
If not preceded by a
@@ -115,7 +115,7 @@ data will be lost.
.TP
.B LINUX_REBOOT_CMD_RESTART
.RB ( RB_AUTOBOOT ,
-0x1234567).
+0x0123\[aq]4567).
The message "Restarting system." is printed, and a default
restart is performed immediately.
If not preceded by a
@@ -123,7 +123,7 @@ If not preceded by a
data will be lost.
.TP
.B LINUX_REBOOT_CMD_RESTART2
-(0xa1b2c3d4; since Linux 2.1.30).
+(0xa1b2\[aq]c3d4; since Linux 2.1.30).
The message "Restarting system with command \(aq%s\(aq" is printed,
and a restart (using the command string given in
.IR arg )
@@ -134,7 +134,7 @@ data will be lost.
.TP
.B LINUX_REBOOT_CMD_SW_SUSPEND
.RB ( RB_SW_SUSPEND ,
-0xd000fce1; since Linux 2.5.18).
+0xd000\[aq]fce1; since Linux 2.5.18).
The system is suspended (hibernated) to disk.
This option is available only if the kernel was configured with
.BR CONFIG_HIBERNATION .