Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ aio_return(3aio) — UnixWare 2.01

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

aio_cancel(3aio)

aiocb(5)

aio_error(3aio)

aio_read(3aio)

aio_write(3aio)

fsync(2)

read(2)

write(2)






       aio_return(3aio)                                    aio_return(3aio)


       NAME
             aio_return - retrieve return status of asynchronous I/O
             operation

       SYNOPSIS
             cc [options] -D_REENTRANT file -lthread
             #include <aio.h>
             int aio_return(struct aiocb *aiocbp);

       DESCRIPTION
             aio_return returns the return status associated with the aiocb
             structure referenced by the aiocbp argument.  The return
             status for an asynchronous I/O operation is the value that
             would be returned by the corresponding read, write, or fsync
             function call.  If the error status [see aio_error(3aio)] for
             the operation is equal to EINPROGRESS, the return status for
             the operation is undefined.  The aio_return function may be
             called exactly once to retrieve the return status of a given
             asynchronous operation; thereafter, if the same aiocb
             referenced structure is used in a call to aio_return or
             aio_error, an error may be returned.  When the aiocb structure
             referred to by aiocbp is used to submit another asynchronous
             operation, aio_return may be successfully used to retrieve the
             return status for that operation.

          Return Values
             The corresponding read, write, or fsync status is returned.
             If the asynchronous I/O is not yet complete, EINPROGRESS is
             returned.

       REFERENCES
             aio_cancel(3aio), aiocb(5), aio_error(3aio), aio_read(3aio),
             aio_write(3aio), fsync(2), read(2), write(2)















                           Copyright 1994 Novell, Inc.               Page 1








Typewritten Software • bear@typewritten.org • Edmonds, WA 98026