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

mi_file_sync()

The mi_file_sync() function forces a write to disk of all pages in an operating-system file.

Syntax

Usage

The mi_file_sync() function writes to disk all pages of the operating-system file that the fd file descriptor identifies.

This function can access files on the server computer from a C UDR.

The mi_file_sync() interface routine has no effect under Windows NT clients.

Return Values

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

The mi_file_sync() 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