X-Recipient: archive-cygwin AT delorie DOT com X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=rac2LK48kaz7QyLfbDs5OT9gO/ULaELs5fSVaqmS7Ag=; b=AZgeRauBxFnvKBZbp1DO4yWEOC0eFMoU1JL097fCDwpwciCJuqgWCQFhCg+M1Empv+ AKRKNsR3tPQg5JUCio0JDn2AzMBru4Xf1iv6x0t1KDtpBFVJ3PXURGan79JeJlIJ5eA2 b/5hZPDObf7x2Om5/Fyo6VoRMwSAY75GN43OvAGVjgKPDmqOzZ756NoiiW8kgJoq4lMX fjNN9MHha+c3lxHaP6yZ/uhmBgD/ucJl3kGFOKFnQbWmYBVxMFjs3rqzObjTI4l/58VL xzKEeAmkbGwUntL/cD2ownWHfxn62jWfD2xIgevK2+6tibwspB/Ov3ut/gC/PnQo28H0 JZwg== X-Gm-Message-State: ANhLgQ1Hcog/gBIKboLl+BOAAN6sznrhWLYhN37s0Eu0O8O9i3xmOq/b scnFTGGrXBGq4l89S9HEgJxGDCxYeRc= X-Google-Smtp-Source: ADFU+vtxhckI8+d71yHeRSvEBfBhXxLzg5ChUMkeeEoRd0UwECbdTxSTKoIe8fVa4v2aZAy3exRyUg== X-Received: by 2002:a2e:b5c3:: with SMTP id g3mr3539326ljn.151.1583977197162; Wed, 11 Mar 2020 18:39:57 -0700 (PDT) Subject: Re: Setting termios VMIN > 0 and VTIME > 0 on non blocking file To: Norton Allen , cygwin AT cygwin DOT com References: <9e4c6428-59de-df07-9e33-44ba95d5497f AT gmail DOT com> <5be321d9-10c2-0853-b716-2abd10a4db3a AT SystematicSw DOT ab DOT ca> <5541b350-9992-a0cf-ca77-43a0df83c0a8 AT gmail DOT com> Message-ID: <22fcede5-8f60-a457-e84e-b09088f37411@gmail.com> Date: Thu, 12 Mar 2020 02:39:53 +0100 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.5.0 MIME-Version: 1.0 In-Reply-To: Content-Language: en-US X-Spam-Status: No, score=0.4 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, GARBLED_BODY, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS autolearn=no autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: cygwin AT cygwin DOT com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Cygwin mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: =?utf-8?q?=C3=85ke_Rehnman_via_Cygwin?= Reply-To: =?UTF-8?Q?=c3=85ke_Rehnman?= Content-Type: text/plain; charset="utf-8"; Format="flowed" Errors-To: cygwin-bounces AT cygwin DOT com Sender: "Cygwin" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 02C1eQ2C025469 On 2020-03-12 02:08, Norton Allen wrote: > Correct me if I am wrong, but O_NDELAY is not the same as O_NONBLOCK At least for cygwin those two are exactly the same... I think... #define _FNONBLOCK      0x4000  /* non blocking I/O (POSIX style) */ #define _FNDELAY        _FNONBLOCK      /* non blocking I/O (4.2 style) */ -- 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