This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: error setting pipe to non-blocking IO
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/