mi_integer mi_streamwrite_decimal(strm_desc, dec_ptr) MI_STREAM *strm_desc; mi_decimal *dec_ptr;
The mi_streamwrite_decimal( ) function writes an mi_decimal value to the stream that strm_desc references. The function writes the value that dec_ptr references. The write operation begins at the current stream seek position. You can use mi_stream_tell( ) or mi_stream_getpos( ) to obtain this seek position.
The mi_streamwrite_decimal( ) function is useful in a streamwrite( ) support function of an opaque data type that contains an mi_decimal value.
See also the descriptions of mi_stream_getpos( ), mi_stream_read( ), mi_stream_tell( ), and mi_streamread_decimal( ).
For more information on the use of mi_streamwrite_decimal( ) in a streamwrite( ) support function, see the IBM Informix: DataBlade API Programmer's Guide.