Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm 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 X-Authentication-Warning: eos.vss.fsi.com: ford owned process doing -bs Date: Mon, 27 Oct 2003 11:06:25 -0600 (CST) From: Brian Ford X-X-Sender: ford AT eos To: Andy Howell cc: cygwin AT cygwin DOT com Subject: Re: error setting pipe to non-blocking IO In-Reply-To: <3F9093B2.8090400@austin.rr.com> Message-ID: References: <3F906430 DOT 5000100 AT austin DOT rr DOT com> <3F9093B2 DOT 8090400 AT austin DOT rr DOT com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII This should now be supported in the latest snapshot available at: http://www.cygwin.com/snapshots Please test and confirm if you are so inclined. Thanks. On Fri, 17 Oct 2003, Andy Howell wrote: > Brian Ford wrote: > > Andy Howell wrote: > >> ioctl(pipefd[0], FIONBIO, &n); > >> > > use: > > fcntl(pipefd[0], F_SETFL, O_NONBLOCK); > > instead. > > > > PTC for FIONBIO, although I can't even find what header that's in? > > fcntl did the trick. Thanks. FIONBIO come from sys/termios.h. I > mis-spelled it in my message. > -- Brian Ford Senior Realtime Software Engineer VITAL - Visual Simulation Systems FlightSafety International Phone: 314-551-8460 Fax: 314-551-8444 -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/