Asynchronously synchronize a file
#include <aio.h>
int aio_fsync( int op,
struct aiocb * aiocbptr );
libc
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.
| Asynchronous I/O operations aren't currently supported. |
-1, and errno is set.
POSIX 1003.1 (Realtime Extensions)
| Safety: | |
|---|---|
| Cancellation point | No |
| Interrupt handler | No |
| Signal handler | Yes |
| Thread | Yes |