ioctl command FIONREAD
Hello,
Does anyone know what FIONREAD ioctl command does means? I use SCO Open Server 5.05.
In Linux this command does not exist.
TIA
Bubulac Angela
Quoted 2 lines · Bubulac Tatiana
Does anyone know what FIONREAD ioctl command does means? I use SCO Open Server 5.05.
As Harvinder says, it reports the number of bytes available for reading from a descriptor.
Quoted 1 line
In Linux this command does not exist.
Yes it does.
Signature · 1 line
Glynn Clements <[email protected]>
Quoted 3 lines · Bubulac Tatiana
Does anyone know what FIONREAD ioctl command does means? I use SCO Open Server 5.05.
In Linux this command does not exist.
You have already got the answer. Just to add that FIONREAD applies only to non-blocking I/O.
Elias
Signature · 1 line
http://gnewtellium.sourceforge.net MP3 is not a crime.