Asynchronously synchronize a file
|Asynchronous I/O operations aren't currently supported.|
#include <aio.h> int aio_fsync( int op, struct aiocb * aiocbptr );
Use the -l c option to qcc to link against this library. This library is usually included automatically.
The aio_fsync() function asynchronously forces all I/O operations associated with the file indicated by the file descriptor to the synchronized I/O completion state.
-1; errno is set.
POSIX 1003.1 AIO