Functions that don't depend upon global quantities/functions. More...
#include <stdio.h>
#include <stdlib.h>
Go to the source code of this file.
Functions | |
int | IsLittleEndian (void) |
void * | SwapEndian (void *Addr, const int Nb) |
FUNCTION: SwapEndian PURPOSE: Swap the byte order of a structure EXAMPLE: float F=123.456;; SWAP_FLOAT(F);. More... | |
Variables | |
static long | _TestEndian =1 |
Functions that don't depend upon global quantities/functions.
Definition in file initbase.tools.c.
int IsLittleEndian | ( | void | ) |
Definition at line 56 of file initbase.tools.c.
void* SwapEndian | ( | void * | Addr, |
const int | Nb | ||
) |
FUNCTION: SwapEndian PURPOSE: Swap the byte order of a structure EXAMPLE: float F=123.456;; SWAP_FLOAT(F);.
Definition at line 65 of file initbase.tools.c.
|
static |
Definition at line 54 of file initbase.tools.c.