]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
reboot.2: 1-argument reboot() is also provided by alternative libc
authorCasper Ti. Vector <caspervector@gmail.com>
Tue, 17 Nov 2015 10:37:38 +0000 (18:37 +0800)
committerMichael Kerrisk <mtk.manpages@gmail.com>
Wed, 2 Dec 2015 19:21:33 +0000 (20:21 +0100)
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>
man2/reboot.2

index 6ad5c6730eea7da9159689c873e7fb6aa0d8d2f3..cd6b6ea90091b24f7dc9a35f32d1c777450b3cfb 100644 (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