Main Page   Compound List   File List   Compound Members   File Members  

endian_test.c File Reference

small test program to test whether the platform's endianness More...

Go to the source code of this file.

Defines

#define BIG_ENDIAN   0
#define LITTLE_ENDIAN   1

Functions

int little_endian (void)
 main ()


Detailed Description

small test program to test whether the platform's endianness

Definition in file endian_test.c.


Define Documentation

#define BIG_ENDIAN   0
 

Definition at line 1 of file endian_test.c.

Referenced by little_endian().

#define LITTLE_ENDIAN   1
 

Definition at line 2 of file endian_test.c.

Referenced by little_endian().


Function Documentation

int little_endian void   
 

Definition at line 4 of file endian_test.c.

References BIG_ENDIAN, and LITTLE_ENDIAN.

Referenced by main().

main  
 

Definition at line 14 of file endian_test.c.

References little_endian().


Generated on Tue Dec 21 13:54:46 2004 by doxygen1.2.18