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

mi_lo_seek()

The mi_lo_seek() function sets the LO seek position for the next read or write operation on the open smart large object.

Syntax

Usage

The function uses the whence and offset arguments to determine the LO seek position, as follows:

This offset value can be negative for all values of whence. The mi_lo_tell() function returns the current seek position for an open smart large object.

Tip: The mi_lo_seek() function replaces the mi_large_object_seek() function, which Informix supports for backward compatibility only. Use mi_lo_seek() 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_tell(), 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.