getc help needed
Wm E Davidsen Jr
davidsen at crdos1.crd.ge.COM
Thu Sep 28 06:11:23 AEST 1989
The usual way to do this is to use the ioctl which sets the read
non-blocking. This will return a byte count of zero if there is no data.
This is portable and more likely to continue working than playing around
with things inside macros.
--
bill davidsen (davidsen at crdos1.crd.GE.COM -or- uunet!crdgw1!crdos1!davidsen)
"The world is filled with fools. They blindly follow their so-called
'reason' in the face of the church and common sense. Any fool can see
that the world is flat!" - anon
More information about the Comp.unix.xenix
mailing list