Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 Jul 2001 15:39:02 +0100
From:      David Malone <dwmalone@maths.tcd.ie>
To:        Matthew Hagerty <mhagerty@voyager.net>
Cc:        freebsd-hackers@FreeBSD.ORG
Subject:   Re: Proper use of select() parameter nfds?
Message-ID:  <20010706153902.A48447@walton.maths.tcd.ie>
In-Reply-To: <5.0.2.1.2.20010706095736.0233de30@pop.voyager.net>; from mhagerty@voyager.net on Fri, Jul 06, 2001 at 09:58:00AM -0400
References:  <5.0.2.1.2.20010706095736.0233de30@pop.voyager.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Jul 06, 2001 at 09:58:00AM -0400, Matthew Hagerty wrote:
> I take this to mean that each descriptor set contains n descriptors and I 
> am interested in examining the first nfds descriptors referenced in my 
> sets.  I also understood it to mean that nfds has absolutely nothing to do 
> with the actual *value* of a descriptor,

If you are interested in selecting on discriptors 0, 5, 9 and 13
then nfds should be 14.

	David.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010706153902.A48447>