mi_integer mi_stream_getpos(strm_desc, seek_pos) MI_STREAM *strm_desc; mi_int8 *seek_pos;
The mi_stream_getpos( ) function obtains the current seek position of the stream that strm_desc references. The stream seek position is the offset for the next read or write operation on the stream. The mi_stream_getpos( ) function returns this seek position in the mi_int8 variable that seek_pos references.
See also the descriptions of mi_stream_open_fio( ), mi_stream_open_mi_lvarchar( ), mi_stream_open_str( ), mi_stream_read( ), mi_stream_seek( ), mi_stream_setpos( ), mi_stream_tell( ), and mi_stream_write( ).