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

mi_close()

The mi_close() function closes a connection.

Syntax

Usage

After mi_close() is called, conn is no longer a valid open connection and all information associated with it becomes invalid. This information includes any save sets created on the connection, callbacks registered for the connection, and statements prepared for the connection. All resources associated with the connection are released at this time. However, any open smart-large-object file descriptors remain valid for the duration of the client session.

Return Values

MI_OK

The function was successful.

MI_ERROR

The function was not successful.

Related Topics

For additional information, see the descriptions of the following functions: mi_open() and mi_server_connect().




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