Home | Download | Musics | Developers | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Byte ordering |
Files | |
file | endian68.h |
byte order header. | |
Functions | |
int | SC68byte_order (void) |
Get integer byte order. | |
int | SC68little_endian (void) |
Check if byte order is little endian. | |
int | SC68big_endian (void) |
Check if byte order is big endian. |
|
Get integer byte order. The SC68byte_order() function returns an integer which gives the position of each byte in the memory. Examples:
|
|
Check if byte order is little endian. The SC68little_endian() function checks if the byte order is little endian.
|
|
Check if byte order is big endian. The SC68big_endian() function checks if the byte order is big endian. By the way it returns !SC68little_endian().
|