21 lines
266 B
C
21 lines
266 B
C
|
/*
|
||
|
* littlebigman.c
|
||
|
*
|
||
|
* Created on: 23 mai 2015
|
||
|
* Author: coissac
|
||
|
*/
|
||
|
|
||
|
#include <littlebigman.h>
|
||
|
|
||
|
bool islittlend()
|
||
|
{
|
||
|
union { int entier;
|
||
|
char caractere[4] ;
|
||
|
} test;
|
||
|
|
||
|
test.entier=0x01020304;
|
||
|
|
||
|
return (test.caractere[3] == 1);
|
||
|
}
|
||
|
|