This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/16459] endian.h does not define byte-order conversion functions
- From: "jaak at ristioja dot ee" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Thu, 16 Jan 2014 19:49:26 +0000
- Subject: [Bug libc/16459] endian.h does not define byte-order conversion functions
- Auto-submitted: auto-generated
- References: <bug-16459-131 at http dot sourceware dot org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=16459
--- Comment #2 from Jaak Ristioja <jaak at ristioja dot ee> ---
(In reply to joseph@codesourcery.com from comment #1)
> glibc does not provide manpages, and they are not relevant to what glibc's
> interface should be. (glibc's code should of course be consistent with
> the manual shipped with glibc; I haven't checked what if anything that
> says about these interfaces.)
It appears that these interfaces are undocumented in the Texinfo manual.
Why not just add these as functions also, e.g. as done with htons and friends
in <netinet/in.h>:
extern uint16_t htons (uint16_t __hostshort)
__THROW __attribute__ ((__const__));
--
You are receiving this mail because:
You are on the CC list for the bug.