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

mi_large_object_seek()

The mi_large_object_seek() function sets the position for the next read or write operation to or from an external file or from a BLOB or CLOB object that is open for reading.

Syntax

Usage

Seeks on internal smart large objects that are open for writing are not allowed and return MI_ERROR.

This function provides direct access to a smart large object.

Tip: Informix provides the mi_large_object_seek() function for backward compatibility only. Use the mi_lo_seek() function for all new DataBlade routines.

Return Values

On success, returns the offset for the beginning of the next read or write operation. On failure, returns MI_ERROR.

Related Topics

See the descriptions of the following functions: mi_large_object_read(), mi_large_object_readwithseek(), mi_large_object_tell(), and mi_large_object_write().

For information about accessing smart-large-object data, see Chapter 3, "Handling Smart Large Objects."




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