From owner-freebsd-hackers Thu Mar 13 9:55:24 2003 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2A30837B401 for ; Thu, 13 Mar 2003 09:55:23 -0800 (PST) Received: from mail.rdslink.ro (mail.rdslink.ro [193.231.236.20]) by mx1.FreeBSD.org (Postfix) with SMTP id 652C843FCB for ; Thu, 13 Mar 2003 09:55:21 -0800 (PST) (envelope-from enache@rdslink.ro) Received: (qmail 6667 invoked from network); 13 Mar 2003 17:56:17 -0000 Received: from unknown (HELO ratsnest.hole) (81.196.245.158) by mail.rdslink.ro with SMTP; 13 Mar 2003 17:56:17 -0000 Received: from ratsnest.hole (localhost [127.0.0.1]) by ratsnest.hole (8.12.5/8.12.5) with ESMTP id h2DHxv8k000818; Thu, 13 Mar 2003 19:59:57 +0200 Received: (from adi@localhost) by ratsnest.hole (8.12.5/8.12.5/Submit) id h2DHxvV9000816; Thu, 13 Mar 2003 19:59:57 +0200 Date: Thu, 13 Mar 2003 19:59:57 +0200 From: Enache Adrian To: Harti Brandt Cc: Enache Adrian , Peter Jeremy , David Cuthbert , hackers@FreeBSD.ORG Subject: Re: first parameter to select Message-ID: <20030313175957.GA810@ratsnest.hole> References: <3E702BCC.3030208@kanga.org> <20030313083710.GA8225@cirb503493.alcatel.com.au> <20030313165018.GA703@ratsnest.hole> <20030313175543.E641@beagle.fokus.fraunhofer.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030313175543.E641@beagle.fokus.fraunhofer.de> User-Agent: Mutt/1.4i 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 Thu, Mar 13, 2003 at 06:05:32PM +0100, Harti Brandt wrote: > EA>Should it be that select() examines also _closed_ file descriptors which > EA>are in the bitmaps ( closed_fd < nfds && closed_fd < 256 ) ? > > Isn't that what the EBADF return is for? Oops. examine <=> poll in my brain when I read that. Regards Adi To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message