This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: ioctl(fd, TIOCINQ, &n) has problems
- From: Corinna Vinschen <corinna-cygwin at cygwin dot com>
- To: cygwin at cygwin dot com
- Date: Thu, 22 Jul 2004 22:53:39 +0200
- Subject: Re: ioctl(fd, TIOCINQ, &n) has problems
- References: <40FFF188.6000808@phon.ox.ac.uk>
- Reply-to: cygwin at cygwin dot com
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/