Robert P. J. Day wrote:
> is there a standard set of byte swap macros/functions for doing
> big/little endian conversion? i have no interest in re-inventing the
> wheel and i'm sure there's a universally-recognized set of macros for
> this, no?
glibc has bswap_{16,32,64} in byteswap.h, but I don't think that they
are specified by any standard.
--
Glynn Clements <[EMAIL PROTECTED]>
-
To unsubscribe from this list: send the line "unsubscribe linux-c-programming"
in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html