summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorwes <wes@FreeBSD.org>1999-10-09 01:35:58 +0000
committerwes <wes@FreeBSD.org>1999-10-09 01:35:58 +0000
commit6af4cfa2bb9d7defdaa391b26c3b0636fdcb8927 (patch)
tree7fd3a80dc7a8bfb475c4cfab63678a84a165ea77 /lib
parent96c8cdf38c4d3671274821d98bee7542fde5275d (diff)
downloadFreeBSD-src-6af4cfa2bb9d7defdaa391b26c3b0636fdcb8927.zip
FreeBSD-src-6af4cfa2bb9d7defdaa391b26c3b0636fdcb8927.tar.gz
Correct the description of the timeout argument. I've examined
the code, which seems to implement the POSIX requirements, and have described the behavior here. Basically, it behaves the same as select(2). Noticed by: John Polstra
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/sys/aio_suspend.210
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/libc/sys/aio_suspend.2 b/lib/libc/sys/aio_suspend.2
index 39fd2e8..908492b 100644
--- a/lib/libc/sys/aio_suspend.2
+++ b/lib/libc/sys/aio_suspend.2
@@ -48,6 +48,16 @@ is an array of
.Ar niocb
pointers to asynchronous I/O requests. Array members containing
NULL will be silently ignored.
+.Pp
+If
+.Ar timeout
+is a non-nil pointer, it specifies a maximum interval to suspend.
+If
+.Ar timeout
+is a nil pointer, the suspend blocks indefinitely. To effect a
+poll, the
+.Ar timeout
+should point to a zero-value timespec structure.
.Sh RETURN VALUES
If one or more of the specified asynchronous I/O requests have
completed,
OpenPOWER on IntegriCloud