TIOCSTI and FIONREAD
Petur Thorsteinsson
petur at kopasker.is
Sat Jan 14 04:51:43 AEST 1989
I'm compiling a program, originally written for 4BSD, on Xenix 2.2.2.
TIOCSTI and FIONREAD (from sgtty.h) are used as arguments for
ioctl() in the program. ( ioctl(0,TIOCSTI,"\n") and ioctl(0,FIONREAD,&nc))
TIOCSTI and FIONREAD are not defined in the Xenix environment, but there
is a lot of #defines in sgtty.h, sys/ioctl.h and sys/machdep.h on Xenix.
The manuals don't have much information on what they do.
Do you think there are some equivalents to TIOCSTI and FIONREAD that I
could use instead of them?
Any other solution?
All help appreciated very much.
..........................................................................
Petur Thorsteinsson / /
(The Primary school of Kopasker, Iceland) / Don't shoot the pianist. /
/ He's doing his best. /
petur at kopasker.is OR petur at rhi.hi.is / /
..........................................................................
More information about the Comp.unix.xenix
mailing list