delorie.com/archives/browse.cgi | search |
On Tue, Jun 06, 2000 at 11:19:09PM +0000, Markus Hoenicka wrote: >the following code results in an access violation: > > ioctl(fd, FIONREAD, &nread); > >This is still on B20.1. If anyone could assure me that this works on >the latest (or the upcoming) net release, I'd finally have a good >reason to upgrade. I'm not aware of a version of Cygwin where this has ever worked. I.e., % grep FIONREAD *.cc % >If this still doesn't work: Is there a workaround? I just have to >check whether any data are available to read from fd. Since I'm not aware of any universal way to do this using the Win32 API, I don't think a workaround is possible, unless you want to use non-blocking I/O which should work better in the current net releases than in B20.1. cgf -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |