Using aioread
()
This command routine is the asynchronous version of read
(). In addition to
the normal read arguments, aioread
()
takes the arguments that
specify a file position and the address of an aio_result_t
structure. The resulting information about the operation is stored in the
aio_result_t
structure. The file position specifies a
seek to be performed within the file before the operation. Whether the
aioread
()
command call succeeds or fails, the file pointer
is updated.