📄 aio_return.3
字号:
.TH aio_return 3 2002-09-12 "Linux 2.4" Linux AIO".SH NAMEaio_return \- Retrieve status of asynchronous I/O operation.SH SYNOPSYS.nf.B #include <errno.h>.sp.br .B #include <aio.h>.sp.br.BI "ssize_t aio_return (const struct aiocb *aiocbp)".fi.SH DESCRIPTIONThis function can be used to retrieve the return status of the operationcarried out by the request described in the variable pointed to by.IR aiocbp. As long as the error status of this request as returnedby .IR aio_erroris .IR EINPROGRESSthe return of this function isundefined.Once the request is finished this function can be used exactly once toretrieve the return value. Following calls might lead to undefinedbehavior. When the sources are compiled with .B "_FILE_OFFSET_BITS == 64"this function is in fact .IR aio_return64since the LFS interfacetransparently replaces the normal implementation..SH "RETURN VALUES"The return value itself is the value which would have beenreturned by the .IR read,.IR write, or .IR fsynccall..SH ERRORSThe function can return .TP.B ENOSYSif it is not implemented..TP.B EINVAL if the .IR aiocbp parameter does notrefer to an asynchronous operation whose return status is not yet known..SH "SEE ALSO".BR aio(3),.BR aio_cancel(3),.BR aio_cancel64(3),.BR aio_error(3),.BR aio_error64(3),.BR aio_fsync(3),.BR aio_fsync64(3),.BR aio_init(3),.BR aio_read(3),.BR aio_read64(3),.BR aio_return64(3),.BR aio_suspend(3),.BR aio_suspend64(3),.BR aio_write(3),.BR aio_write64(3),.BR errno(3),
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -