next up previous
Next: endian_convert() Up: Brain Volume I/O Handling Previous: read_stopwatch_string()

big_endian()  

Test for endian-ness of host



Synopsis


int 
big_endian(void)


Description
This function returns true (1) if the computer running has INTEL endian memory storing.

Usage

if (big\_endian()) print(WARNING, "Intel inside\n");

Revision


1.0  29/10-96   Ulrik Kjems


Program listing






Ulrik Kjems
6/3/1998