get the endian-ness of the calling process
Standard C library (libc, -lc)
Return the endian-ness of the calling process, in the location pointed to by endianness.
On success, 0 is returned. On error, -1 is returned, and errno is set to indicate the error.
Linux. PowerPC only.
Linux 2.6.18 (PowerPC).