|File: [cvsweb.bsd.lv] / mandoc / test-be32toh.c (download)
Revision 1.1, Fri Aug 5 23:15:08 2016 UTC (4 years, 5 months ago) by schwarze
CVS Tags: VERSION_1_14_5, VERSION_1_14_4, VERSION_1_14_3, VERSION_1_14_2, VERSION_1_14_1, HEAD
The concept of endianness seems to be somewhat newfangled, so the
respective conversion functions are not yet properly standardized.
Rumour has it that POSIX is working on it, though.
For now, sprinkle some configuration glue.
return htobe32(be32toh(0x3a7d0cdb)) != 0x3a7d0cdb;