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

mi_lo_truncate()

The mi_lo_truncate() function truncates a smart large object at a specified byte position.

Syntax

Usage

The mi_lo_truncate() function sets the last valid byte of a smart large object to the specified offset value. If this offset value is less than the current end of the smart large object, the database server reclaims all storage, from the position that offset indicates to the end of the smart large object.

Return Values

MI_OK

The function was successful.

MI_ERROR

The function was not successful.

Related Topics

See the description of the mi_lo_open() function.

In Chapter 3, "Handling Smart Large Objects," see "Smart-Large-Object I/O".




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