Embryo_Swap_Group (3) - Linux Manuals

Embryo_Swap_Group: Functions that are used to ensure that integers passed to the virtual machine are in small endian format.

NAME

Byte Swapping Functions - Functions that are used to ensure that integers passed to the virtual machine are in small endian format.

Functions


EAPI void embryo_swap_16 (unsigned short *v)
Ensures that the given unsigned short integer is in the small endian format.
EAPI void embryo_swap_32 (unsigned int *v)
Ensures that the given unsigned integer is in the small endian format.

Detailed Description

Functions that are used to ensure that integers passed to the virtual machine are in small endian format.

These functions are used to ensure that the virtual machine operates correctly on big endian machines.

Function Documentation

EAPI void embryo_swap_16 (unsigned short * v)

Ensures that the given unsigned short integer is in the small endian format.

Parameters:

v Pointer to the given integer.

EAPI void embryo_swap_32 (unsigned int * v)

Ensures that the given unsigned integer is in the small endian format.

Parameters:

v Pointer to the given integer.

Referenced by embryo_program_load().

Author

Generated automatically by Doxygen for Embryo from the source code.