mirror of https://github.com/mkerrisk/man-pages
aio_cancel.3, aio_error.3, aio_fsync.3, aio_read.3, aio_return.3, aio_suspend.3, aio_write.3: Refer the reader to aio(7) for a description of the aiocb structure
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
ead0a6e593
commit
2b014d760d
|
@ -42,6 +42,11 @@ Otherwise, only the request
|
|||
described by the control block pointed to by
|
||||
.I aiocbp
|
||||
is canceled.
|
||||
(See
|
||||
.BR aio (7)
|
||||
for a description of the
|
||||
.I aiocb
|
||||
structure.)
|
||||
.LP
|
||||
Normal asynchronous notification occurs for canceled requests.
|
||||
The request return status is set to \-1, and the request error status
|
||||
|
|
|
@ -35,6 +35,11 @@ The
|
|||
function returns the error status for the asynchronous I/O request
|
||||
with control block pointed to by
|
||||
.IR aiocbp .
|
||||
(See
|
||||
.BR aio (7)
|
||||
for a description of the
|
||||
.I aiocb
|
||||
structure.)
|
||||
.SH "RETURN VALUE"
|
||||
This function returns
|
||||
.B EINPROGRESS
|
||||
|
|
|
@ -35,6 +35,11 @@ The
|
|||
function does a sync on all outstanding asynchronous I/O operations
|
||||
associated with
|
||||
.IR aiocbp\->aio_fildes .
|
||||
(See
|
||||
.BR aio (7)
|
||||
for a description of the
|
||||
.I aiocb
|
||||
structure.)
|
||||
.LP
|
||||
More precisely, if
|
||||
.I op
|
||||
|
|
|
@ -40,6 +40,11 @@ with fd, buf, count given by
|
|||
respectively.
|
||||
The return status n can be retrieved upon completion using
|
||||
.BR aio_return (3).
|
||||
(See
|
||||
.BR aio (7)
|
||||
for a description of the
|
||||
.I aiocb
|
||||
structure.)
|
||||
.LP
|
||||
The data is read starting at the absolute file offset
|
||||
.IR aiocbp\->aio_offset ,
|
||||
|
|
|
@ -35,6 +35,11 @@ The
|
|||
function returns the final return status for the asynchronous I/O request
|
||||
with control block pointed to by
|
||||
.IR aiocbp .
|
||||
(See
|
||||
.BR aio (7)
|
||||
for a description of the
|
||||
.I aiocb
|
||||
structure.)
|
||||
.LP
|
||||
This function should be called only once for any given request, after
|
||||
.BR aio_error (3)
|
||||
|
|
|
@ -45,6 +45,11 @@ of length
|
|||
have completed, a signal is delivered, or
|
||||
.I timeout
|
||||
is not NULL and the time interval it indicates has passed.
|
||||
(See
|
||||
.BR aio (7)
|
||||
for a description of the
|
||||
.I aiocb
|
||||
structure.)
|
||||
.LP
|
||||
Each item in the list must either be NULL (and then is ignored),
|
||||
or a pointer to a control block on which I/O was initiated using
|
||||
|
|
|
@ -40,6 +40,11 @@ with fd, buf, count given by
|
|||
respectively.
|
||||
The return status n can be retrieved upon completion using
|
||||
.BR aio_return (3).
|
||||
(See
|
||||
.BR aio (7)
|
||||
for a description of the
|
||||
.I aiocb
|
||||
structure.)
|
||||
.LP
|
||||
If
|
||||
.B O_APPEND
|
||||
|
|
Loading…
Reference in New Issue