Writes changes for a specified range of a file to permanent storage.
#include <sys/fp_io.h> int fp_fsync (fp, how, off, len) struct file *fp; int how; offset_t off; offset_t len;
The fp_fsync kernel service is an internal interface to the function provided by the fsync_range subroutine.
The fp_fsync kernel service can be called from the process environment only.
0 | Indicates a successful operation. |
ERRNO | Returns an error number from the /usr/include/sys/errno.h file on failure. |
The fsync or fsync_range Subroutine in AIX 5L Version 5.2 Technical Reference: Base Operating System and Extensions Volume 1.
Logical File System Kernel Services in AIX 5L Version 5.2 Kernel Extensions and Device Support Programming Concepts.