Brian Ford wrote:

ioctl(pipefd[0], FIOBIO, &n);

use:
        fcntl(pipefd[0], F_SETFL, O_NONBLOCK);
instead.

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.


Thanks again,

Andy





--
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/



Reply via email to