Non-blocking I/O

Paolo Bonzini bonzini@gnu.org
Tue Nov 19 04:17:00 GMT 2002


How do I set-up non-blocking I/O with SIGIO or
SIGURG notifications under Cygwin?

The various Unices I know of use either F_SETFL+F_SETOWN
(BSD-ish), I_SETSIG (STREAMS-ish), FIOASYNC+SIOCSPGRP, or
FIOASYNC (but does this send signals?).  Does any
of these work with Cygwin or do I need another one?

Also, what kinds of file handlers will it work on?  Does it
work on sockets and tty's at least?

Thanks in advance,

Paolo Bonzini


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list