X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:to:from:subject:date:message-id:references :reply-to:mime-version:content-type:content-transfer-encoding :in-reply-to; q=dns; s=default; b=Z49QejU7c77QeA4m6S3ZLugwDqgPAM Od7G58HSermTPMgDsWGPD3Tz1C6flJQITNAFOrhkRzcH55oHCTTE//X20ff/2htv H4Y5+ezrknnatR36Kru7y+H9890w3EcIM5NPbRlV3xIvVHTReUTC+gt3SM7UJmxS NFoSbuf/Fmowo= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:to:from:subject:date:message-id:references :reply-to:mime-version:content-type:content-transfer-encoding :in-reply-to; s=default; bh=FvMzweRp2QzlOcqhpmDFhAdrL7c=; b=Jy9h DnLgocK8xjnrI8Q9h+fcHxqhtTQ+af4C8xsUyYZ/uVzi6KroHagjvcn1mn6EDA3K jG4WPh6H1PadNKww+/OjB4RlHJgfNr1O6UGsVj8uKIJHyXhwByxh0uxNaZAqm4QF TpReLUJskwXaqkqBmO4+TDcN+cRpNSAKVUbrv8k= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.3 required=5.0 tests=AWL,BAYES_40,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,RCVD_NUMERIC_HELO,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.2 spammy=H*i:sk:DM3PR18, Ren, ren, H*f:sk:DM3PR18 X-HELO: plane.gmane.org To: cygwin AT cygwin DOT com From: =?UTF-8?Q?Ren=c3=a9_Berber?= Subject: Re: FD_SETSIZE and sizeof(fd_set) Date: Wed, 22 Jun 2016 18:19:18 -0500 Lines: 20 Message-ID: References: Reply-To: Do not reply Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.19) Gecko/20081209 Lightning/0.9 Thunderbird/2.0.0.19 Mnenhy/0.7.6.0 In-Reply-To: X-IsSubscribed: yes On 6/22/2016 5:19 PM, Steven Bardwell wrote: > I am running into a problem with the fd_set structure that someone may know the answer to. > > I would like to be able to call select() on more than 64 open files, so I have done the following: > > 1) the include section of the program has the code: > > #undef FD_SETSIZE > #define FD_SETSIZE 256 > #include Wrong include file, use #include (which is the one that actually has the definition of fd_set, and uses FD_SETSIZE). -- René Berber -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple