delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/07/12/15:54:56

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
Message-ID: <396CD6E6.FC10DB7D@kscable.com>
Date: Wed, 12 Jul 2000 14:36:54 -0600
From: Philippe Moutarlier <philippe AT kscable DOT com>
X-Mailer: Mozilla 4.61 [en] (X11; U; Linux 2.2.14 i586)
X-Accept-Language: en
MIME-Version: 1.0
To: cygwin AT sourceware DOT cygnus DOT com
Subject: Fwd: accesing the serial port in non-blocking mode ?

Hi everybody,

please excuse this newbie question : I am trying to access and control
my serial ports using open + read/write +  tcgetattr/tcsetattr. I need
to have the read in non-blocking mode so I set the VMIN and VTIME
to be both 0.

But the read still blocks ...

I also seem to have pbs setting the speed to 115200 using the 
c_flag attribute.

I have just downloaded and installed the latest cygwin.

Am I doing something wrong or is it just not possible ?

Thanks

Philippe

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


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