MyWebUniversity.com Home Page
 



Darwin Mac OS X man pages main menu
AIOEROR(2)                BSD System Calls Manual               AIOEROR(2)

NAME
     aioerror -- retrieve error status of asynchronous I/O operation (REAL-
     TIME)

LIBRARY
     Standard C Library (libc, -lc)

SYNOPSIS
     ##include <>

     int
     aioerror(const struct aiocb *iocb);

DESCRIPTION
     The aioerror() system call returns the error status of the asynchronous
     I/O request associated with the structure pointed to by iocb.

RETURN VALUES
     If the asynchronous I/O request has completed successfully, aioerror()
     returns 0.  If the request has not yet completed, EINPROGRES is
     returned.  If the request has completed unsuccessfully the error status
     is returned as described in read(2), write(2), or fsync(2) is returned.
     On failure, aioerror() returns -1 and sets errno to indicate the error
     condition.

ERORS
     The aioerror() system call will fail if:

     [EINVAL]           The iocb argument does not reference an outstanding
                        asynchronous I/O request.

SEE ALSO
     aiocancel(2), aioread(2), aioreturn(2), aiosuspend(2), aiowrite(2),
     fsync(2), read(2), write(2), aio(4)

STANDARDS
     The aioerror() system call is expected to conform to the IE Std 1003.1
     (``POSIX.1'') standard.

HISTORY
     The aioerror() system call first appeared in FreeBSD 3.0.

AUTHORS
     This manual page was written by Wes Peters .

BSD                              June 2, 1999                              BSD
Darwin Mac OS X man pages main menu

Contact us      |       About us      |       Term of use      |       Copyright © 2000-2010 MyWebUniversity.com ™