Input buffer character count

J. Paul Landolt landolt at yunccn
Fri Apr 15 12:17:42 AEST 1988


I have asked this question several times, but either I have been asking in
the wrong newsgroups, or no-one knows (the latter seems more likely)

I am using MS C on Xenix 2.2.1.  I am trying to find a way to determine
how many characters (if any) are waiting to be read from the input buffer

Is there any cut and dry method of doing this? some people have suggested
trapping an I/O signal.  Others have suggested using ioctl()

	many thanks,

-- 
J. Paul Landolt
world: ...uunet!ontmoh!yunccn!landolt
nccn:  ...!yunccn!landolt



More information about the Comp.unix.questions mailing list