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

mi_file_unlink()

The mi_file_unlink() function unlinks (removes) the file that mi_file_open() has previously opened.

Syntax

Usage

The mi_file_unlink() function removes the operating-system file that fd identifies. This function is a destructor function for an operating-system file descriptor.

A call to mi_file_unlink() from a client LIBMI application raises an exception.

Return Values

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

The mi_file_unlink() 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 description of the mi_file_open() function.


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