|File: [cvsweb.bsd.lv] / mandoc / test-ntohl.c (download)
Revision 1.1, Fri Aug 5 23:15:08 2016 UTC (5 years, 2 months ago) by schwarze
CVS Tags: VERSION_1_14_6, 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 htonl(ntohl(0x3a7d0cdb)) != 0x3a7d0cdb;