Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@sources.redhat.com>
List-Help: <mailto:cygwin-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@sources.redhat.com
Delivered-To: mailing list cygwin@sources.redhat.com
Date: Fri, 30 Mar 2001 20:20:59 -0500
From: Christopher Faylor <cgf@redhat.com>
To: cygwin@cygwin.com
Subject: Re: serial port programming
Message-ID: <20010330202059.A32471@redhat.com>
Reply-To: cygwin@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
References: <Pine.BSF.4.21.0103301702570.1865-100000@shell10.ba.best.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.3.11i
In-Reply-To: <Pine.BSF.4.21.0103301702570.1865-100000@shell10.ba.best.com>; from holmes@nbn.com on Fri, Mar 30, 2001 at 05:16:42PM -0800

On Fri, Mar 30, 2001 at 05:16:42PM -0800, Tim Holmes wrote:
>Hello,
>
>I'm trying to use cygwin to write an app that communicates via the serial
>port.  I'm doing this under Windows NT.  
>
>At one point I need to find out how many bytes are in the incoming
>buffer.  The POSIX programming references I've found say to use FIONREAD,
>but this is apparently not included in Cywin's termios.
>
>I've found some references to this in the list archives, but wasn't clear
>as to what it all meant.  Can I read the number of bytes in the
>buffer?  

I don't believe that it is implemented in Cygwin.

cgf

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

