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

mi_file_open()

The mi_file_open() function opens a file.

Syntax

Usage

This file-management function can access files on the server computer from a DataBlade API program that is running in the database server.

In a server routine, mi_file_open() assumes the file permissions of the invoking oninit process.

In a client application, mi_file_open() assumes the file permissions of the application user.

Return Values

On success, returns a file descriptor for the open file. On failure, returns MI_ERROR.

Related Topics

For additional information, see the descriptions of the following functions: mi_file_allocate() and mi_file_close().




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