Haunting by the ghost

October 19, 2007

Ref: “Writing endian-independent code in Cconst int i = 1;#define is_bigendian() ( (*(char*)&i) == 0 )