From owner-freebsd-hackers Fri Jul 6 7:39: 7 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from salmon.maths.tcd.ie (salmon.maths.tcd.ie [134.226.81.11]) by hub.freebsd.org (Postfix) with SMTP id 601BD37B401 for ; Fri, 6 Jul 2001 07:39:03 -0700 (PDT) (envelope-from dwmalone@maths.tcd.ie) Received: from walton.maths.tcd.ie by salmon.maths.tcd.ie with SMTP id ; 6 Jul 2001 15:39:02 +0100 (BST) Date: Fri, 6 Jul 2001 15:39:02 +0100 From: David Malone To: Matthew Hagerty Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: Proper use of select() parameter nfds? Message-ID: <20010706153902.A48447@walton.maths.tcd.ie> References: <5.0.2.1.2.20010706095736.0233de30@pop.voyager.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i 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 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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