This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libc/16459] endian.h does not define byte-order conversion functions


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]