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

mi_file_to_large_object()

The mi_file_to_large_object() function creates a smart large object and writes the contents of the specified file to it.

Syntax

Usage

Use mi_free() to free this handle when it is no longer needed.

Return Values

MI_LOHANDLE * is a pointer to an LO handle for the new smart large object.
NULL indicates that the function was not successful.

The mi_file_to_large_object() function does not throw an MI_Exception event when it encounters a runtime error. Therefore, it does not cause callbacks to be invoked.

Related Topics

See the descriptions of other mi_lo_ functions and the following functions: mi_large_object_create(), mi_large_object_create_opts(), mi_large_object_to_file(), mi_large_object_info(), and mi_lo_from_file().


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