informix
Informix DataBlade API Programmer's Manual
DataBlade API Function Descriptions

mi_fix_integer()

The mi_fix_integer() function converts the specified 4-byte integer to or from the byte order of the client computer.

Syntax

Usage

The mi_fix_integer() function is useful in send and receive support functions for opaque data types when the opaque-type structure contains mi_integer components that need to be converted to and from the client byte order.

Return Values

mi_unsigned_integer is the value in the desired byte order.
MI_ERROR indicates that the function was not successful.

Related Topics

See the descriptions of the following functions: mi_fix_smallint(), mi_get_bytes(), mi_get_double_precision(), mi_get_integer(), mi_get_smallint(), mi_put_bytes(), mi_put_double_precision(), mi_put_integer(), and mi_put_smallint().


Informix DataBlade API Programmer's Manual, Version 9.2
Copyright © 1999, Informix Software, Inc. All rights reserved