summaryrefslogtreecommitdiffstats
path: root/lib/libc/sys/aio_return.2
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2002-12-18 09:22:32 +0000
committerru <ru@FreeBSD.org>2002-12-18 09:22:32 +0000
commita4b155d7a2170a500eb79b46959eef4018441062 (patch)
treecb18f664ed0ee63bee30f6af9b148510b6e9663b /lib/libc/sys/aio_return.2
parente7e659d1cc574138f455ed70d58a07294211ff5a (diff)
downloadFreeBSD-src-a4b155d7a2170a500eb79b46959eef4018441062.zip
FreeBSD-src-a4b155d7a2170a500eb79b46959eef4018441062.tar.gz
mdoc(7) police: Tidy up the syscall language.
Stop calling system calls "function calls". Use "The .Fn system call" a-la "The .Nm utility". When referring to a non-BSD implementation in the HISTORY section, call syscall a function, to be safe.
Diffstat (limited to 'lib/libc/sys/aio_return.2')
-rw-r--r--lib/libc/sys/aio_return.212
1 files changed, 8 insertions, 4 deletions
diff --git a/lib/libc/sys/aio_return.2 b/lib/libc/sys/aio_return.2
index 5f7e682..b12b787 100644
--- a/lib/libc/sys/aio_return.2
+++ b/lib/libc/sys/aio_return.2
@@ -39,11 +39,13 @@
.Sh DESCRIPTION
The
.Fn aio_return
-function returns the final status of the asynchronous I/O request
+system call returns the final status of the asynchronous I/O request
associated with the structure pointed to by
.Fa iocb .
.Pp
+The
.Fn aio_return
+system call
should only be called once, to obtain the final status of an asynchronous
I/O operation once
.Xr aio_error 2
@@ -66,7 +68,7 @@ to indicate the error condition.
.Sh ERRORS
The
.Fn aio_return
-function will fail if:
+system call will fail if:
.Bl -tag -width Er
.It Bq Er EINVAL
.Fa iocb
@@ -83,14 +85,16 @@ does not reference an outstanding asynchronous I/O request.
.Xr write 2 ,
.Xr aio 4
.Sh STANDARDS
+The
.Fn aio_return
+system call
is expected to conform to the
.St -p1003.2
standard.
.Sh HISTORY
The
-.Nm
-function first appeared in
+.Fn aio_return
+system call first appeared in
.Fx 3.0 .
.Sh AUTHORS
This
OpenPOWER on IntegriCloud