This is the mail archive of the
mailing list for the Cygwin project.
Re: error setting pipe to non-blocking IO
Brian Ford wrote:
ioctl(pipefd, FIOBIO, &n);
fcntl(pipefd, F_SETFL, O_NONBLOCK);
PTC for FIOBIO, 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.
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html