Section: Linux AIO (3)Updated: 2009-06-10Local indexUp
NAME
aio_write64 - Initiate an asynchronous write operation
SYNOPSYS
#include <errno.h> #include <aio.h> int aio_write64(struct aiocb *aiocbp);
DESCRIPTION
This function is similar to the
aio_write
function. The only
difference is that on
32 bit
machines the file descriptor should
be opened in the large file mode. Internally
aio_write64
uses
functionality equivalent to
lseek64
to position the file descriptor correctly for the writing,
as opposed to
lseek
functionality used in
aio_write.
When the sources are compiled with
_FILE_OFFSET_BITS == 64
, this
function is available under the name
aio_write
and so transparently
replaces the interface for small files on 32 bit machines.