From: "Michael Kerrisk (man-pages)" <mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: "Casper Ti. Vector"
<caspervector-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Cc: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org,
linux-man-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: [PATCH] reboot.2: 1-argument reboot() is also provided by alternative libc.
Date: Wed, 02 Dec 2015 20:22:21 +0100 [thread overview]
Message-ID: <565F44ED.2080204@gmail.com> (raw)
In-Reply-To: <7306b677818ad893376f0d6cead68a3912b73de5.1447763024.git.CasperVector-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
On 11/17/2015 11:37 AM, Casper Ti. Vector wrote:
> 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.
Thanks, Casper. Patch applied.
Cheers,
Michael
> ---
> man2/reboot.2 | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/man2/reboot.2 b/man2/reboot.2
> index 6ad5c67..cd6b6ea 100644
> --- a/man2/reboot.2
> +++ b/man2/reboot.2
> @@ -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
>
--
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/
--
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
parent reply other threads:[~2015-12-02 19:22 UTC|newest]
Thread overview: expand[flat|nested] mbox.gz Atom feed
[parent not found: <7306b677818ad893376f0d6cead68a3912b73de5.1447763024.git.CasperVector-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=565F44ED.2080204@gmail.com \
--to=mtk.manpages-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
--cc=caspervector-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
--cc=linux-man-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).