byteswap.h and endian.h could be provided
Illumos could provide byteswap.h and endian.h headers for better source compatibility with Linux. The attached patch does this but I'm not sure what Illumos policy is. Do we only care about implementing XOPEN standards or is better compatibility with Linux a goal too?
Updated by Robert Mustacchi about 5 years ago
Note, I filed 6790 to cover the fuller set of endian interfaces, but have not addressed the issue of a byteorder.h header there. I wasn't sure if that satisfied what folks were looking for and thus did not want to dup it out or take over the bug.