The mi_char1 and mi_unsigned_char1 data types
The mi_char1 and mi_unsigned_char1 data types hold a single-byte character. These data types can also hold an integer quantity within C code so you can also use mi_unsigned_char1 to hold unsigned one-byte integer values.
For , the mi_char1 and mi_unsigned_char1 data types assume that one character uses one byte of storage. Therefore, do not use these data types to hold multibyte characters (which can require up to four bytes of storage). Instead, use the mi_char, mi_string, or mi_lvarchar data type. For more information about multibyte characters, see the Informix® GLS User's Guide.
The mi_char1 and mi_unsigned_char1 data types are guaranteed to be one byte on all computer architectures. Therefore, they can fit into an MI_DATUM structure and can be passed by value in C UDRs.
All data types, including mi_char1 and mi_unsigned_char1, must be passed by reference in client LIBMI applications.