Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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 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: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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/