aio_error64

NAME

aio_error64 - Return errors

SYNOPSYS

#include <errno.h>
 
#include <aio.h>
I int aio_error64 (const struct aiocb64 *aiocbp)

DESCRIPTION

This function is similar to R aio_error with the only difference that the argument is a reference to a variable of type R struct aiocb64.
When the sources are compiled with R _FILE_OFFSET_BITS == 64 this function is available under the name R 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 R EINPROGRESS R aio_error returns is either 0 if the request completed successfully or it returns the value which would be stored in the R errno variable if the request would have been done using R read , R write , or R fsync .

ERRORS

See R aio_error(3).

SEE ALSO

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