stIsLEndianCPU function
Declaration
INLINE BOOL stIsLEndianCPU(void);
Return value

Returns TRUE if the processor operates in Little Endian mode; otherwise, returns FALSE.

Description

This function determines the byte ordering (endianness) of the host processor at runtime.

This function is excluded from compilation by default. To enable it, the ST_IS_LENDIAN_CPU_FUNC constant must be set to 1. If the byte ordering module is disabled by setting ST_USE_ENDIANS to 0, this function will not be compiled regardless of other settings.

Version:1.0
Header file:ST_Endian.h (include ST_API.h)
See also: BOOL, byte ordering, FALSE, INLINE, ST_IS_LENDIAN_CPU_FUNC, ST_USE_ENDIANS, TRUE
SpaceShadow documentation