This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: 9.8.05: Serial Communication Support on Cygwin
- From: Christopher Faylor <cgf-no-personal-reply-please at cygwin dot com>
- To: cygwin at cygwin dot com
- Date: Tue, 9 Aug 2005 10:30:07 -0400
- Subject: Re: 9.8.05: Serial Communication Support on Cygwin
- References: <FHEOLLIKMHCMHCCOMCLKEEHLCAAA.sudarshan@dgbmicro.com>
- Reply-to: cygwin at cygwin dot com
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@sourceware.org
Cygwin Co-Project Leader aaaspam@duffek.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/