I'd like to know if a fd has data available for reading. I have tried ioctl
with FIONREAD
but that results in a "Operation not supported error". Any ideas?
I'd like to know if a fd has data available for reading. I have tried ioctl
with FIONREAD
but that results in a "Operation not supported error". Any ideas?