aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorWes Peters <wes@FreeBSD.org>1999-10-09 01:35:58 +0000
committerWes Peters <wes@FreeBSD.org>1999-10-09 01:35:58 +0000
commit9466cad206518d2f283dedec62968f12981ec9ae (patch)
tree874ef9f553b5d075446b25db5b89a702e3bfa939 /lib
parent2bc2b29270534caf13f0527c906137907ed32d7d (diff)
downloadsrc-9466cad206518d2f283dedec62968f12981ec9ae.tar.gz
src-9466cad206518d2f283dedec62968f12981ec9ae.zip
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
Notes
Notes: svn path=/head/; revision=52041
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 39fd2e86875a..908492b1b42a 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,