aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2016-11-22 10:02:47 +0100
committerMichael Kerrisk <mtk.manpages@gmail.com>2016-11-22 10:02:47 +0100
commit5ddb62b2879b345ee46aec1b12b92ef71c6dc6b5 (patch)
treef0e2d17ccf9f6ded3b906137e723d5c7416310bc
parent90e072b6333f9a1a2a16d1c5b061a5828813f977 (diff)
downloadman-pages-5ddb62b2879b345ee46aec1b12b92ef71c6dc6b5.tar.gz
reboot.2: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
-rw-r--r--man2/reboot.28
1 files changed, 6 insertions, 2 deletions
diff --git a/man2/reboot.2 b/man2/reboot.2
index 2dfaeb73fb..36e6506d89 100644
--- a/man2/reboot.2
+++ b/man2/reboot.2
@@ -173,16 +173,20 @@ is called from a PID namespace (see
.BR pid_namespaces (7))
other than the initial PID namespace,
the effect of the call is to send a signal to the namespace "init" process.
+The
.BR LINUX_REBOOT_CMD_RESTART
and
.BR LINUX_REBOOT_CMD_RESTART2
-cause a
+.I cmd
+values cause a
.BR SIGHUP
signal to be sent.
+The
.BR LINUX_REBOOT_CMD_POWER_OFF
and
.BR LINUX_REBOOT_CMD_HALT
-cause a
+.I cmd
+values cause a
.B SIGINT
signal to be sent.
For the other