Module Name: src Committed By: christos Date: Mon May 6 00:50:26 UTC 2019
Modified Files: src/lib/libc/sys: poll.2 Log Message: document the EINVAL caused by a large nfds. To generate a diff of this commit: cvs rdiff -u -r1.28 -r1.29 src/lib/libc/sys/poll.2 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/lib/libc/sys/poll.2 diff -u src/lib/libc/sys/poll.2:1.28 src/lib/libc/sys/poll.2:1.29 --- src/lib/libc/sys/poll.2:1.28 Mon Mar 22 15:30:55 2010 +++ src/lib/libc/sys/poll.2 Sun May 5 20:50:26 2019 @@ -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 @@ points outside the process's allocated a 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 ,