aboutsummaryrefslogtreecommitdiff
path: root/lib/libc/sys/aio_read.2
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/sys/aio_read.2')
-rw-r--r--lib/libc/sys/aio_read.226
1 files changed, 13 insertions, 13 deletions
diff --git a/lib/libc/sys/aio_read.2 b/lib/libc/sys/aio_read.2
index e1256cef5039..8090963e5f6e 100644
--- a/lib/libc/sys/aio_read.2
+++ b/lib/libc/sys/aio_read.2
@@ -40,7 +40,7 @@
.Sh DESCRIPTION
The
.Fn aio_read
-function allows the calling process to read
+system call allows the calling process to read
.Fa iocb->aio_nbytes
from the descriptor
.Fa iocb->aio_fildes
@@ -61,7 +61,7 @@ The
.Fa iocb->aio_lio_opcode
is ignored by the
.Fn aio_read
-call.
+system call.
.Pp
The
.Fa iocb
@@ -110,26 +110,26 @@ None.
.Sh ERRORS
The
.Fn aio_read
-function will fail if:
+system call will fail if:
.Bl -tag -width Er
.It Bq Er EAGAIN
The request was not queued because of system resource limitations.
.It Bq Er ENOSYS
The
.Fn aio_read
-call is not supported.
+system call is not supported.
.El
.Pp
The following conditions may be synchronously detected when the
.Fn aio_read
-call is made, or asynchronously, at any time thereafter. If they
+system call is made, or asynchronously, at any time thereafter. If they
are detected at call time,
.Fn aio_read
returns -1 and sets
.Va errno
appropriately; otherwise the
.Fn aio_return
-function must be called, and will return -1, and
+system call must be called, and will return -1, and
.Fn aio_error
must be called to determine the actual calue that would have been
returned in
@@ -160,13 +160,13 @@ offset maximum.
If the request is successfully enqueued, but subsequently cancelled
or an error occurs, the value returned by the
.Fn aio_return
-function is per the
+system call is per the
.Xr read 2
-call, and the value returned by the
+system call, and the value returned by the
.Fn aio_error
-function is either one of the error returns from the
+system call is either one of the error returns from the
.Xr read 2
-call, or one of:
+system call, or one of:
.Bl -tag -width Er
.It Bq Er EBADF
.Fa iocb->aio_fildes
@@ -190,13 +190,13 @@ would be invalid.
.Sh STANDARDS
The
.Fn aio_read
-call is expected to conform to the
+system call is expected to conform to the
.St -p1003.2
standard.
.Sh HISTORY
The
-.Nm
-function first appeared in
+.Fn aio_read
+system call first appeared in
.Fx 3.0 .
.Sh AUTHORS
This