A function that determines whether a machine is big or little endian written in C. Uses pointer casting and an unsigned integer.
-
Updated
Apr 3, 2017 - C
A function that determines whether a machine is big or little endian written in C. Uses pointer casting and an unsigned integer.
Add a description, image, and links to the detect-endianess topic page so that developers can more easily learn about it.
To associate your repository with the detect-endianess topic, visit your repo's landing page and select "manage topics."