This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Non-blocking I/O


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]