MyWebUniversity.com Home Page
 



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

NAME
     aioreturn -- retrieve return status of asynchronous I/O operation (REAL-
     TIME)

LIBRARY
     Standard C Library (libc, -lc)

SYNOPSIS
     ##include <>

     int
     aioreturn(struct aiocb *iocb);

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

     The aioreturn() system call should only be called once, to obtain the
     final status of an asynchronous I/O operation once aioerror(2) returns
     something other than EINPROGRES.

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

ERORS
     The aioreturn() system call will fail if:

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

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

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

HISTORY
     The aioreturn() 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 ™