INFORMIX
DataBlade API Programmer's Manual
Chapter 12: DataBlade API Function Descriptions
Home Contents Index Master Index New Book

mi_lo_tell()

The mi_lo_tell() function returns the current LO seek position for an open smart large object.

Syntax

Usage

The LO seek position is the offset for the next read or write operation on the smart large object that is associated with the LO file descriptor, LO_fd. The mi_lo_tell() function returns this seek position in the mi_int8 variable, seek_pos.

Tip: The mi_lo_tell() function replaces the mi_large_object_tell() function, which Informix supports for backward compatibility only. Use mi_lo_tell() for all new DataBlade routines.

Return Values

MI_OK

The function was successful.

MI_ERROR

The function was not successful.

Related Topics

See the description of the following functions: mi_lo_read(), mi_lo_readwithseek(), mi_lo_seek(), mi_lo_write(), and mi_lo_writewithseek().

In Chapter 3, "Handling Smart Large Objects," see "Opening a Smart Large Object", "Writing Data to a Smart Large Object", and "Reading Data from a Smart Large Object".




DataBlade API Programmer's Manual, version 9.1
Copyright © 1998, Informix Software, Inc. All rights reserved.