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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Wang Long <long.wanglong@xxxxxxxxxx>
---
 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@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux