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

mi_lo_stat_cspec()

The mi_lo_stat_cspec() function returns from an LO-status structure the storage characteristics for a smart large object.

Syntax

Usage

The mi_lo_stat_cspec() function is the LO-status accessor function that returns the storage characteristics from a set of status information. To access storage characteristics from this structure, use the LO-specification accessor functions.

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

The mi_lo_stat_cspec() function returns a pointer to an LO-specification structure that contains the storage characteristics from the LO-status structure that LO_stat references. You can use this LO-specification structure to create another smart large object with the same storage characteristics.

Return Values

MI_LO_SPEC *

A pointer to the LO-specification structure that contains the storage characteristics for the smart large object whose status information is in the LO-status structure that LO_stat references.

MI_ERROR

The function was not successful.

Related Topics

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

In Chapter 3, "Handling Smart Large Objects," see "Status Information" for information on storage characteristics. For information on storage characteristics, see "Storage Characteristics". See "The LO-Status Structure", "Obtaining the Status of a Smart Large Object", and "Storage Characteristics from an Existing Smart Large Object" for information on how to use the mi_lo_stat_cspec() function.




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