delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/08/09/10:30:23

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Tue, 9 Aug 2005 10:30:07 -0400
From: Christopher Faylor <cgf-no-personal-reply-please AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: 9.8.05: Serial Communication Support on Cygwin
Message-ID: <20050809143007.GB26150@trixie.casa.cgf.cx>
Reply-To: cygwin AT cygwin DOT com
References: <FHEOLLIKMHCMHCCOMCLKEEHLCAAA DOT sudarshan AT dgbmicro DOT com>
Mime-Version: 1.0
In-Reply-To: <FHEOLLIKMHCMHCCOMCLKEEHLCAAA.sudarshan@dgbmicro.com>
User-Agent: Mutt/1.5.8i

On Tue, Aug 09, 2005 at 04:36:39PM +0530, Sudarshan Parthasarathy wrote:
>This is Sudarshan.  I am trying to work with serial ports on Windows
>using only C library API's like open, read etc.But I am unable to find
>a way to set the serial communication attributes, espeically OVERLAPPED
>or NON_OVERLAPPED IO with "open".  Ofcourse Windows provides the
>API-"CreateFile", which will do the job, but I don't want to use it.
>Essentially I need to use as less of Windows functions for serial
>communications.
>
>I came across Cygwin, and am curious how Cygwin does it on Windows?
>Would be glad to get some answers...Thanks in advance

If Cygwin needs to do overlapped I/O, it does overlapped I/O.  Cygwin
uses the Windows API to emulate linux functionality.
--
Christopher Faylor			spammer? ->	aaaspam AT sourceware DOT org
Cygwin Co-Project Leader				aaaspam AT duffek DOT com
TimeSys, 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/

- Raw text -


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