FrontISTR  5.7.0
Large-scale structural analysis program with finit element method
hecmw_fstr_endian.h File Reference
#include <stdbool.h>
Include dependency graph for hecmw_fstr_endian.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

bool HECMW_is_big_endian (void)
 function for investigating endian of running CPU More...
 
const char * HECMW_endian_str (void)
 function for investigating endian of running CPU More...
 

Function Documentation

◆ HECMW_endian_str()

const char* HECMW_endian_str ( void  )

function for investigating endian of running CPU

Parameters
[in]void
Returns
const char* if running CPU is big endian, return "BigEndian",

if running CPU is big endian, return "BigEndian" as const char*. if it is little endian, return "LittleEndian" as const char*.

Definition at line 35 of file hecmw_fstr_endian.c.

Here is the call graph for this function:

◆ HECMW_is_big_endian()

bool HECMW_is_big_endian ( void  )

function for investigating endian of running CPU

Parameters
[in]void
Returns
bool if running CPU is big endian, return true,

if running CPU is big endian, return true. if it is little endian, return false.

Parameters
[in]void
Returns
const char* if running CPU is big endian, return "BigEndian",

if running CPU is big endian, return "BigEndian" as const char*. if it is little endian, return "LittleEndian" as const char*.

Definition at line 18 of file hecmw_fstr_endian.c.

Here is the caller graph for this function: