![]()  | 
![]()  | 
![]()  | 
![]()  | 
![]()  | 
This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs. | 
Asynchronously synchronize a file
![]()  | 
Asynchronous I/O operations aren't currently supported. | 
#include <aio.h>
int aio_fsync( int op, 
               struct aiocb * aiocbptr );
libc
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.
| Safety: | |
|---|---|
| Cancellation point | No | 
| Interrupt handler | No | 
| Signal handler | Yes | 
| Thread | Yes | 
![]()  | 
![]()  | 
![]()  | 
![]()  |