aboutsummaryrefslogtreecommitdiff
path: root/lib/libc/sys/aio_waitcomplete.2
diff options
context:
space:
mode:
authorSheldon Hearn <sheldonh@FreeBSD.org>2000-06-23 15:01:18 +0000
committerSheldon Hearn <sheldonh@FreeBSD.org>2000-06-23 15:01:18 +0000
commita6a2ba1c18b0b178cefa03a094a1b223baaa3c4e (patch)
tree82e4c041164bbbe0a0db5066a7415c658f6cabe7 /lib/libc/sys/aio_waitcomplete.2
parenta02450722bd9c90148282872df5fbfc39080aecf (diff)
downloadsrc-a6a2ba1c18b0b178cefa03a094a1b223baaa3c4e.tar.gz
src-a6a2ba1c18b0b178cefa03a094a1b223baaa3c4e.zip
Apply the accepted line breaking rules.
Notes
Notes: svn path=/head/; revision=62012
Diffstat (limited to 'lib/libc/sys/aio_waitcomplete.2')
-rw-r--r--lib/libc/sys/aio_waitcomplete.217
1 files changed, 10 insertions, 7 deletions
diff --git a/lib/libc/sys/aio_waitcomplete.2 b/lib/libc/sys/aio_waitcomplete.2
index 2c5dadc88491..dd92166875c5 100644
--- a/lib/libc/sys/aio_waitcomplete.2
+++ b/lib/libc/sys/aio_waitcomplete.2
@@ -39,23 +39,26 @@
.Sh DESCRIPTION
The
.Fn aio_waitcomplete
-function waits for completion of an asynchronous I/O request. Upon completion,
+function waits for completion of an asynchronous I/O request.
+Upon completion,
.Fn aio_waitcomplete
returns the result of the function and sets
.Fa iocbp
-to point to the structure associated with the original request. If an
-asynchronous I/O request is completed before
+to point to the structure associated with the original request.
+If an asynchronous I/O request is completed before
.Fn aio_waitcomplete
is called, it returns immediately with the completed request.
.Pp
If
.Fa timeout
is a non-NULL pointer, it specifies a maximum interval to wait for a
-asynchronous I/O request to complete. If
+asynchronous I/O request to complete.
+If
.Fa timeout
is a NULL pointer,
.Fn aio_waitcomplete
-waits indefinitely. To effect a poll, the
+waits indefinitely.
+To effect a poll, the
.Fa timeout
argument should be non-NULL, pointing to a zero-valued timeval structure.
.Pp
@@ -70,8 +73,8 @@ should not be called for the control block returned in
.Sh RETURN VALUES
If an asynchronous I/O request has completed,
.Fa iocbp
-is set to point to the control block passed with the original request, and
-the status is returned as described in
+is set to point to the control block passed with the original request,
+and the status is returned as described in
.Xr read 2 ,
.Xr write 2 ,
or