aio_fsync(3aio)


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).

References

aiocb(5), aio_read(3aio), aio_suspend(3aio), aio_write(3aio) intro(2)

Notices

Considerations for large file support

aio_fsync64 supports large files, but is otherwise identical to aio_fsync. For details on programming for large file capable applications, see ``Large File Support'' on intro(2).
© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 25 April 2004