informix
Informix DataBlade API Programmer's Manual
DataBlade API Function Descriptions

mi_lo_specset_def_open()

The mi_lo_specset_def_open() function sets the default open flags for a smart large object.

Syntax

Usage

The mi_lo_specset_def_open() function is the LO-specification accessor function that sets the default open flags for a new smart large object. The def_open_flags value is the bit mask that indicates which open flags to use when the mi_lo_open() opens the smart large object. The default open flags indicate how the mi_lo_open() function opens the smart large object when it does not include an open flag. To override the default open flags, you can specify an open mode as an argument to mi_lo_open().

Return Values

MI_OK indicates that the function was successful.
MI_ERROR indicates that the function was not successful.

Related Topics

See the descriptions of the following functions: mi_lo_copy(), mi_lo_create(), mi_lo_expand(), mi_lo_from_file(), mi_lo_open(), mi_lo_spec_free(), mi_lo_spec_init() and mi_lo_specget_def_open().

For more information on the default open mode of a smart large object, see Storage Characteristics. For information on how to use the mi_lo_specset_def_open() function, see The LO-Specification Structure, and Defining User-Specified Storage Characteristics.


Informix DataBlade API Programmer's Manual, Version 9.2
Copyright © 1999, Informix Software, Inc. All rights reserved