you can write a function to detect the big /little endian of the
processor.
so you write other related function with the one as it can help u
understand what endian mode it is in runtime.
hints, think , you can define a var 0x01020304, then use each byte in
it as an index for 4-byte-long data...
Alexander Veremyev wrote:
Hi All,
Is there any possibility in a C standard to get integer bytes order
in a compile time?
With best regards,
Alexander Veremyev.