FIORDCHK
Aryeh M. Weiss
aryeh at eddie.mit.edu
Tue Jan 16 08:34:23 AEST 1990
In article <4587 at questar.QUESTAR.MN.ORG> jeff at questar.UUCP (Jeff Holmes) writes:
>...
> In /usr/include/term.h there is a comment about modification
> history dated MAR 18,1988 and the comment...
>
> ...added XENIX FIORDCHK as alternative to BSD FIONREAD...
>
> So i tried x = ioctl(0, FIORDCHK, &n) and noticed that "n"
> did NOT change but the return value from ioctl was 1 on
> a function key press and 0 for anything that returned a single
> character.
>
See the SCO function rdchk(S). Rdchk(S) returns 1 if there is data to
be read from the tty. FIORDCHK sounds like it is the ioctl interface to
the same function or else rdchk is a wrapper function for this ioctl call.
--
More information about the Comp.unix.xenix
mailing list