Path: utzoo!attcan!uunet!mcvax!hafro!krafla!kopasker!petur From: petur@kopasker.is (Petur Thorsteinsson) Newsgroups: comp.unix.xenix Subject: TIOCSTI and FIONREAD Message-ID: <63@kopasker.is> Date: 13 Jan 89 18:51:43 GMT Organization: Primary School of Kopasker, Iceland Lines: 21 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@kopasker.is OR petur@rhi.hi.is / / ..........................................................................