This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: 9.8.05: Serial Communication Support on Cygwin


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]