Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libc/sys document the EINVAL caused by a large nfds.
details: https://anonhg.NetBSD.org/src/rev/9ec8c1d1e504
branches: trunk
changeset: 451096:9ec8c1d1e504
user: christos <christos%NetBSD.org@localhost>
date: Mon May 06 00:50:26 2019 +0000
description:
document the EINVAL caused by a large nfds.
diffstat:
lib/libc/sys/poll.2 | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
diffs (29 lines):
diff -r 4ee208cd61e6 -r 9ec8c1d1e504 lib/libc/sys/poll.2
--- a/lib/libc/sys/poll.2 Mon May 06 00:33:17 2019 +0000
+++ b/lib/libc/sys/poll.2 Mon May 06 00:50:26 2019 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: poll.2,v 1.28 2010/03/22 19:30:55 joerg Exp $
+.\" $NetBSD: poll.2,v 1.29 2019/05/06 00:50:26 christos Exp $
.\"
.\" Copyright (c) 1998, 2005 The NetBSD Foundation, Inc.
.\" All rights reserved.
@@ -27,7 +27,7 @@
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
.\" POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd September 8, 2006
+.Dd May 5, 2019
.Dt POLL 2
.Os
.Sh NAME
@@ -218,7 +218,9 @@
A signal was delivered before the time limit expired and
before any of the selected events occurred.
.It Bq Er EINVAL
-The specified time limit is negative.
+The specified time limit is negative or
+the number of pollfd structures specified is larger the than the current
+file descriptor resource limit.
.El
.Sh SEE ALSO
.Xr accept 2 ,
Home |
Main Index |
Thread Index |
Old Index