aio_fsync, aio_fsync64 --
asynchronously force I/O completion
Synopsis
cc [options] -Kthread file
#include <aio.h>
int aio_fsync(int op, struct aiocb *aiocbp);
int aio_fsync64(int op, struct aiocb64 *aiocbp);
Description
aio_fsync asynchronously forces I/O operations
to the synchronized I/O completion state.
aio_fsync is not implemented in SVR4.2 or SVR4.2MP.
This function returns -1 and sets errno to ENOSYS.
ENOMEM is returned if
there were no internal kernal aio control blocks available to service
the request (number of kernel aio control blocks is tunable via
the NUMAIO kernel parameter; see
``Miscellaneous parameters'' in Monitoring and tuning the system).