Man Linux: Main Page and Category List

NAME

       aio_error64 - Return errors

SYNOPSYS

       #include <errno.h>

       #include <aio.h>

       int aio_error64(const struct aiocb64 *aiocbp);

DESCRIPTION

       This function is similar to aio_error with the only difference that the
       argument is a reference to a variable of type struct aiocb64.

       When the  sources  are  compiled  with  _FILE_OFFSET_BITS  ==  64  this
       function  is  available  under  the name aio_error and so transparently
       replaces the interface for small files on 32 bit machines.

RETURN VALUES

       If the request has not yet terminated  the  value  returned  is  always
       EINPROGRESS.   Once  the  request  has  terminated  the value aio_error
       returns is either 0 if the request completed successfully or it returns
       the  value  which  would be stored in the errno variable if the request
       would have been done using read, write, or fsync.

ERRORS

       See aio_error(3).

SEE ALSO

       aio(3),  aio_cancel(3),  aio_cancel64(3),  aio_error(3),  aio_fsync(3),
       aio_fsync64(3), aio_init(3), aio_read(3), aio_read64(3), aio_return(3),
       aio_return64(3),   aio_suspend(3),   aio_suspend64(3),    aio_write(3),
       aio_write64(3), errno(3).