summaryrefslogtreecommitdiff
path: root/lib/libc/sys/poll.2
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/sys/poll.2')
-rw-r--r--lib/libc/sys/poll.28
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/libc/sys/poll.2 b/lib/libc/sys/poll.2
index 7d6271a5c54..b9aae0a427d 100644
--- a/lib/libc/sys/poll.2
+++ b/lib/libc/sys/poll.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: poll.2,v 1.17 2003/09/23 16:53:34 millert Exp $
+.\" $OpenBSD: poll.2,v 1.18 2003/12/10 23:10:08 millert Exp $
.\"
.\" Copyright (c) 1994 Jason R. Thorpe
.\" All rights reserved.
@@ -37,7 +37,7 @@
.Sh SYNOPSIS
.Fd #include <poll.h>
.Ft int
-.Fn poll "struct pollfd *fds" "int nfds" "int timeout"
+.Fn poll "struct pollfd *fds" "nfds_t nfds" "int timeout"
.Sh DESCRIPTION
.Fn poll
provides a mechanism for multiplexing I/O across a set of file
@@ -87,7 +87,7 @@ and
members are bitmasks of conditions to monitor and conditions found,
respectively.
.It Fa nfds
-The number of
+An unsigned integer specifying the number of
.Fa pollfd
structures in the array.
.It Fa timeout
@@ -224,7 +224,7 @@ points outside the process's allocated address space.
caught a signal during the polling process.
.It Bq Er EINVAL
.Fa nfds
-was either a negative number or greater than the number of available
+was greater than the number of available
file descriptors.
.It Bq Er EINVAL
The timeout passed to