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

mi_lo_stat_size()

The mi_lo_stat_size() function obtains from an LO-status structure the size, in bytes, of a smart large object.

Syntax

Usage

The mi_lo_stat_size() function is the LO-status accessor function that returns the smart-large-object size from a set of status information. This size is the actual number of bytes that the smart-large-object data currently uses.

Important: Before you call mi_lo_stat_size(), you must initialize an LO-status structure with the mi_lo_stat() function.

The mi_lo_stat_size() function obtains the smart-large-object size from the LO-status structure that LO_stat references.

Return Values

MI_OK

The function was successful.

MI_ERROR

The function was not successful.

Related Topics

See the descriptions of the following functions: mi_lo_stat(), mi_lo_stat_atime(), mi_lo_stat_cspec(), mi_lo_stat_ctime(), mi_lo_stat_free(), mi_lo_stat_mtime_sec(), and mi_lo_stat_refcnt().

In Chapter 3, "Handling Smart Large Objects," see "Status Information" for more information on the smart-large-object size. See "The LO-Status Structure", and "Obtaining the Status of a Smart Large Object" for more information on how to use the mi_lo_stat_size() function.




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