diff options
author | sheldonh <sheldonh@FreeBSD.org> | 2000-06-23 15:01:18 +0000 |
---|---|---|
committer | sheldonh <sheldonh@FreeBSD.org> | 2000-06-23 15:01:18 +0000 |
commit | 91b47d18405499b0d756d276dcd87fcb16a63565 (patch) | |
tree | 53b9457d2de55946c9585115160a31d603e4a3a4 /lib | |
parent | 16efc72e25ce23ad0978ef49794b97ad35f08b74 (diff) | |
download | FreeBSD-src-91b47d18405499b0d756d276dcd87fcb16a63565.zip FreeBSD-src-91b47d18405499b0d756d276dcd87fcb16a63565.tar.gz |
Apply the accepted line breaking rules.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libc/sys/aio_waitcomplete.2 | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/lib/libc/sys/aio_waitcomplete.2 b/lib/libc/sys/aio_waitcomplete.2 index 2c5dadc..dd92166 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 |