X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 9D1F3385840E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1675715531; bh=k9r5OsH1UsQpFpIxC2c6XqJU7V5sYFncL8roOI6xiFA=; h=Date:Subject:To:References:In-Reply-To:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: From; b=fmXqvlhbcVDaHSSmKBURARcqTqmtD4UBAaCe5I1qFWPsMXRaiOmAfqfYdThit/yk3 7NrCiHvENJApU1pbKH0CLR7E3gp8G9mRWhbCLpOC625aLKf3obb/RjUpSSITKKq4Kz GOrR4VeC8cjagh+RzCHj06BN8hu7YnqrrPUCfWwk= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org E89153858D1E Message-ID: Date: Tue, 7 Feb 2023 07:31:51 +1100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.7.1 Subject: Re: [FEEDBACK] Issue with fd_set, FD_ZERO, FD_SET, FD_SETSIZE : Cygwin Content-Language: en-US To: Yeo Kai Wei , cygwin AT cygwin DOT com References: In-Reply-To: X-Spam-Status: No, score=-2.5 required=5.0 tests=BAYES_00, JMQ_SPF_NEUTRAL, KAM_DMARC_STATUS, NICE_REPLY_A, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: cygwin AT cygwin DOT com X-Mailman-Version: 2.1.29 List-Id: General Cygwin discussions and problem reports List-Archive: List-Post: List-Help: List-Subscribe: , From: Eliot Moss via Cygwin Reply-To: moss AT cs DOT umass DOT edu Content-Type: text/plain; charset="utf-8"; Format="flowed" Sender: "Cygwin" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 316KWZcK007216 On 2/7/2023 7:25 AM, Yeo Kai Wei via Cygwin wrote: > Hi, > > I would like to report an issue with Cygwin 3.4.2 on Windows. > > It doesn't seem to be able to work with  fd_set, FD_ZERO, FD_SET, FD_SETSIZE macros. > > The code is in italics. The filename was selectStdIn.c. The terminal command used was "gcc -o > selectStdIn selectStdIn.c" > > Thank you. My guess is that those fd set things aren't POSIX, and cygwin tries to model POSIX. Comments at the top of /usr/include/sys/select.h suggest that. -- Eliot Moss -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation: https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple