DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

aio_fsync(AIO)


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(M), aio_read(AIO), aio_suspend(AIO), aio_write(AIO) intro(S)

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(S).
© 2005 The SCO Group, Inc. All rights reserved.
SCO OpenServer Release 6.0.0 - 01 June 2005