perand@nada.kth.se (Per Andersson) (12/19/89)
Hi. I've got a problem - while attempting to port a package from BSD Unix to Interactive 2.0.1 I ran into a function ( ? ) called FIONREAD. Does anybody know how to emulate / replace this ? It seems to retrieve the number of unread bytes on a stream or something like this. Per -- --- Per Andersson Royal Institute of Technology, Stockholm, Sweden perand@admin.kth.se, @nada.kth.se
todd@stiatl.UUCP (Todd Merriman) (12/20/89)
In article <2564@draken.nada.kth.se> perand@nada.kth.se (Per Andersson) writes: >I've got a problem - while attempting to port a package from BSD Unix to >Interactive 2.0.1 I ran into a function ( ? ) called FIONREAD. Does anybody >know how to emulate / replace this ? This is a definition for ioctl() that exists in Berkely Unix, but not in System V. The common work-around can be found in the Kermit sources. ...!gatech!stiatl!todd Todd Merriman * 404-889-8264 * Atlanta, GA