Query: aio_return
OS: hpux
Section: 2
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
aio_return(2) System Calls Manual aio_return(2)NAMEaio_return() - return status of an asynchronous I/O operationSYNOPSISDESCRIPTIONThe 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.RETURN VALUEIf 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 values.ERRORSIf detects one of the following error conditions, is set to the indicated 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 referencedEXAMPLEThe following code sequence illustrates using to retrieve the error status of an operation and free the for future re-use.SEE ALSOaio_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).STANDARDS CONFORMANCEaio_return(2)
Related Man Pages |
---|
aio_cancel(2) - hpux |
aio_return(3) - opendarwin |
aio_error(3) - xfree86 |
aio_return(3) - x11r4 |
aio_return(3) - v7 |
Similar Topics in the Unix Linux Community |
---|
problem using awk |