Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ aio_error(3aio) — UnixWare 2.01

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

aio_cancel(3aio)

aiocb(5)

aio_read(3aio)

aio_return(3aio)

aio_write(3aio)

fsync(2)

read(2)

write(2)






       aio_error(3aio)                                      aio_error(3aio)


       NAME
             aio_error - retrieve asynchronous I/O error status

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

       DESCRIPTION
             aio_error returns the error status associated with the aiocb
             structure referenced by the aiocbp argument.  The error status
             for an asynchronous I/O operation is the errno value that
             would be set by the corresponding read, write, or fsync
             operation.  If the operation is not completed, the error
             status equals EINPROGRESS.

          Return Values
             If the asynchronous I/O operation completes successfully, 0 is
             returned.  If it fails, the corresponding read, write, or
             fsync error status is returned.  EINPROGRESS is returned if
             the operation is still in progress.

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























                           Copyright 1994 Novell, Inc.               Page 1








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