Changeset View
Changeset View
Standalone View
Standalone View
lib/libc/sys/aio_return.2
Show First 20 Lines • Show All 49 Lines • ▼ Show 20 Lines | |||||
I/O operation once it has completed | I/O operation once it has completed | ||||
.Xr ( aio_error 2 | .Xr ( aio_error 2 | ||||
returns something other than | returns something other than | ||||
.Er EINPROGRESS ) . | .Er EINPROGRESS ) . | ||||
.Sh RETURN VALUES | .Sh RETURN VALUES | ||||
If the asynchronous I/O request has completed, the status is returned | If the asynchronous I/O request has completed, the status is returned | ||||
as described in | as described in | ||||
.Xr read 2 , | .Xr read 2 , | ||||
.Xr readv 2 , | |||||
.Xr write 2 , | .Xr write 2 , | ||||
.Xr writev 2 , | |||||
or | or | ||||
.Xr fsync 2 . | .Xr fsync 2 . | ||||
Otherwise, | Otherwise, | ||||
.Fn aio_return | .Fn aio_return | ||||
returns \-1 and sets | returns \-1 and sets | ||||
.Va errno | .Va errno | ||||
to indicate the error condition. | to indicate the error condition. | ||||
.Sh ERRORS | .Sh ERRORS | ||||
Show All 36 Lines |