aio_fsync()

Asynchronously synchronize a file


Note: Asynchronous I/O operations aren't currently supported.

Synopsis:

#include <aio.h>

int aio_fsync( int op, 
               struct aiocb * aiocbptr );

Library:

libc

Use the -l c option to qcc to link against this library. This library is usually included automatically.

Description:

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.

Returns:

-1; errno is set.

Errors:

ENOSYS
The aio_fsync() function isn't currently supported.

Classification:

POSIX 1003.1 AIO

Safety:
Cancellation point No
Interrupt handler No
Signal handler Yes
Thread Yes