[GRASS5] src/libes/gis/ new function G_is_little_endian()

Markus Neteler neteler at geog.uni-hannover.de
Mon Jan 15 10:32:51 EST 2001


Hi all,

as it is used in various places in GRASS, I have added
G_is_little_endian() function to test little/big endianess
in
src/libes/gis/endian.c
(GISLIB)

 *****************************************************************
 * endian test
 *
 * G_is_little_endian ()
 *
 * Test if machine is little or big endian (required for file coding)
 *
 * Returns: 1 little endian
 *          0 big endian

I have updated to src/libes/ogsf/ accordingly (NVIZ is affected).
Seems to work well.

Maybe this test is useful for the new vect-lib?

Cheers

 Markus

---------------------------------------- 
If you want to unsubscribe from GRASS Development Team mailing list write to:
minordomo at geog.uni-hannover.de with
subject 'unsubscribe grass5'



More information about the grass-dev mailing list