delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/03/30/20:17:40

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Date: Fri, 30 Mar 2001 17:16:42 -0800 (PST)
From: Tim Holmes <holmes AT nbn DOT com>
To: cygwin AT sources DOT redhat DOT com
Subject: serial port programming
Message-ID: <Pine.BSF.4.21.0103301702570.1865-100000@shell10.ba.best.com>
MIME-Version: 1.0

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?  

Thanks for any thoughts on this.

Tim Holmes



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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019