[PATCH] reboot.2: add return value description for behavior inside PID namespace

From: Wang Long <hidden>
Date: 2016-11-22 08:39:17
Subsystem: the rest · Maintainer: Linus Torvalds

Signed-off-by: Wang Long <redacted>
---
 man2/reboot.2 | 6 ++++++
 1 file changed, 6 insertions(+)
diff --git a/man2/reboot.2 b/man2/reboot.2
index db0806c..2dfaeb7 100644
--- a/man2/reboot.2
+++ b/man2/reboot.2
@@ -185,6 +185,12 @@ and
 cause a
 .B SIGINT
 signal to be sent.
+For the other
+.I cmd
+values, \-1 is returned and
+.I errno
+is set to
+.BR EINVAL .
 .SH RETURN VALUE
 For the values of
 .I cmd
-- 
1.9.1

--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help