ioctl(fd, TIOCINQ, &n) has problems

Corinna Vinschen corinna-cygwin@cygwin.com
Thu Jul 22 22:11:00 GMT 2004


On Jul 22 17:55, Greg Kochanski wrote:
> The TIOCINQ ioctl is supposed to tell you how many bytes of data
> are in the terminal's input buffer.    It doesn't work in  Cygwin,
> despite the fact that TIOCINQ is defined in <sys/termios.h> .

Sorry, TIOCINQ is only supported on the serial interface so far.
As usual, http://cygwin.com/acronyms/#SHTDI


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Co-Project Leader          mailto:cygwin@cygwin.com
Red Hat, Inc.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list