aio_return man page on HP-UX

Man page or keyword search:  
man Server   10987 pages
apropos Keyword Search (all sections)
Output format
HP-UX logo
[printable version]

aio_return(2)							 aio_return(2)

       aio_return() - return status of an asynchronous I/O operation

       The  function  returns  the return status associated with the structure
       referenced by the aiocbp argument.  The return value for	 an  asynchro‐
       nous  I/O operation is the value that would be set by the corresponding
       or operation.  If the operation has  been  queued  but  not  completed,
       returns	and  is	 set  to  A successful call frees all kernel resources
       associated with the calls referenced by aiocbp.

       To use this function, link in the realtime library by specifying on the
       compiler or linker command line.

       If  the	is invalid or if no asynchronous I/O operation is enqueued for
       the returns and is set to indicate the error.  Otherwise,  returns  the
       error  status of the referenced See aio_read(2), read(2), aio_write(2),
       write(2), aio_fsync(2), fsync(2) and lio_listio(2) for  relevant	 error

       If  detects  one of the following error conditions, is set to the indi‐
       cated value:

	      [EINVAL]	     The aiocbp is not	a  valid  address  within  the
			     process virtual address space.

	      [EINVAL]	     There  was no asynchronous I/O operation enqueued
			     for the referenced

       The following code sequence illustrates using  to  retrieve  the	 error
       status of an operation and free the for future re-use.

       aio_cancel(2), aio_error(2), aio_fsync(2), aio_read(2), aio_suspend(2),
       aio_write(2), fsync(2), lio_listio(2), read(2), write(2), aio(5).


List of man pages available for HP-UX

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]
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