MIO_fsync Subroutine
Purpose
Save changes in a file to permanent storage through the MIO library.
Library
Modular I/O library (libmio.a)
Syntax
#include <libmio.h>
int MIO_fsync (FileDescriptor)
int FileDescriptor;
Description
This subroutine is an entry point of the MIO library. Use this subroutine to instrument your application with the MIO library. You can replace the fsync kernel I/O subroutine with this equivalent MIO subroutine. See the Modular I/O in Performance management for the MIO library implementation.
Use this subroutine to save to permanent storage all modified data in the specified range of the open file specified by the FileDescriptor parameter. The FileDescriptor parameter results from the MIO_open64 subroutine.
Parameters
The parameters are those of the corresponding standard POSIX system call fsync.
Return Values
The return values are those of the corresponding standard POSIX system call fsync.
Error Codes
The error codes are those of the corresponding standard POSIX system call fsync.
Location
/usr/lib/libmio.a