Mail Archives: cygwin/2005/08/09/10:30:23
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 -