Thought this was pretty interesting. It's a Lilliputian endian-ness detector for C, to replace whatever Brobdingnagian method you might be using. http://esr.ibiblio.org/?p=5095