[comp.unix.questions] How many characters on next read on SYSVR3 ?

ATT3B%UCONNVM.BITNET@cunyvm.cuny.edu (Martin Stein) (12/09/89)

I am trying to make the cursorkey work with microemacs 3.10.
On SysV that doesnt't work. On BSD there seems to be a select
systemcall that waitsa certain time and then tells if chars are
available from the terminal.

On SysV i tried it with streams: ioctl(0,I_NREAD,&nr_of_chs) always
returns -1 and 0 in nr_of_chs.

How do i get the number of characters in the input queue?

Martin Stein (ATT3B@UCONNVM.BITNET)