reboot.2: 1-argument reboot() is also provided by alternative libc

As far as the patch author knows, at least the following
alternative C libraries for linux also provide the
1-argument variant:

* uclibc: all public releases.
* dietlibc: 0.7.2 and all later releases; reboot() was not provided in
            0.7.1 and earlier releases.
* musl: all public releases.
* klibc: all public releases.
* bionic: all public releases.

... which should already cover most use cases.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Casper Ti. Vector 2015-11-17 18:37:38 +08:00 committed by Michael Kerrisk
parent 6e8ccc0d6c
commit 25fe569385
1 changed files with 2 additions and 1 deletions

View File

@ -40,7 +40,8 @@ reboot \- reboot or enable/disable Ctrl-Alt-Del
.sp
.BI "int reboot(int " magic ", int " magic2 ", int " cmd ", void *" arg );
.sp
/* Under glibc some of the constants involved have gotten
/* Under glibc and most alternative libc's (including uclibc, dietlibc,
musl and a few others), some of the constants involved have gotten
symbolic names RB_*, and the library call is a 1-argument
wrapper around the 3-argument system call: */
.sp