aio_return man page on IRIX

Man page or keyword search:  
man Server   31559 pages
apropos Keyword Search (all sections)
Output format
IRIX logo
[printable version]



AIO_RETURN(3)							 AIO_RETURN(3)

NAME
     aio_return, aio_return64 - return error status of an asynchronous I/O
     operation

C SYNOPSIS
     #include <aio.h>

     ssize_t aio_return(aiocb_t *aiocbp);

     ssize_t aio_return64(aiocb64_t *aiocbp);

DESCRIPTION
     The aio_return() function returns the return status associated with the
     aiocbp passed in. The return status for an asynchronous I/O operation is
     the value that would be returned by the corresponding read(2) or write(2)
     or fsync(2) operation.  If the error status for the operation is equal to
     EINPROGRESS, then 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 structure is used in a call to aio_return() or aio_error(), an
     error may be returned.

     The aio_return64() function is identical to aio_return() except that it
     takes an aiocb64_t * (see <aio.h>).  This structure allows for the
     specification of a file offset greater than 2 Gigabytes.

SEE ALSO
     aio_read(3), aio_write(3), lio_listio(3), aio_error(3), aio_cancel(3),
     aio_sgi_init(3), read(2), lseek(2), close(2),_exit(2), exec(2), fork(2).

DIAGNOSTICS
     If the asynchronous I/O operation has completed, then the return status,
     as described for read(2), write(2), and fsync(2) shall be returned. If
     the asynchronous operation has not yet completed, then the results of
     aio_return() are undefined.

     If any of the conditions below occur, the aio_return() function shall
     return -1 and set errno to the corresponding value.

     [EINVAL]	    The aiocbp argument refers to an asynchronous operation
		    whose return status has already been retrieved.

									Page 1

[top]

List of man pages available for IRIX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net