Admin Production ni-theme
Current Publication

HostIsBigEndian

LabWindows/CVI

HostIsBigEndian

int HostIsBigEndian (void);

Purpose

This function indicates if the host system uses the big endian memory layout. Networks typically use big endian memory layouts. Once you determine the host and network endianness, use the Endianness functions to convert to big endian or little endian as necessary.

Parameters

None.

Return Value

Name Type Description
result int Returns a non-zero value if the system uses big endian memory layout. Otherwise, returns zero.

Additional Information

Library: Programmer's Toolbox

Include file: toolbox\toolbox.h

LabWindows/CVI compatibility: LabWindows/CVI 9.0 and later