ioctl and FIONREAD?

Markus Hoenicka Markus.Hoenicka@uth.tmc.edu
Tue Jun 6 16:16:00 GMT 2000


Hi,

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.

If this still doesn't work: Is there a workaround? I just have to
check whether any data are available to read from fd.

Thanks
Markus

-- 
Markus Hoenicka
UT Houston Medical School
Dept. of Integrative Biology and Pharmacology
6431 Fannin MSB4.114
Houston, TX 77030
(713) 500-6313, -7477
(713) 500-7444 (fax)
Markus.Hoenicka@uth.tmc.edu
http://ourworld.compuserve.com/homepages/hoenicka_markus/


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com



More information about the Cygwin mailing list