X-Spam-Check-By: sourceware.org In-Reply-To: References: Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: Reply-To: cygwin mailing list Content-Transfer-Encoding: 7bit From: Morgan gangwere <0 DOT fractalus AT gmail DOT com> Subject: Re: Accessing RS-232 serial port under Cygwin Date: Fri, 27 Jul 2007 11:18:48 -0600 To: cygwin Mailing list X-Mailer: Apple Mail (2.752.2) X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: 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 On Jul 26, 2007, at 7:44 PM, ask.teddy wrote: > Hello, > > I want to write a C program which runs on a desktop computer and talks > to a device over the RS-232 serial port. I'm using WinXP + Cygwin, and > sometimes Ubuntu Linux. I hope this program can be ported to either OS > with the least modification at the source level. How can I use a C > program to access the serial port under Cygwin? > > Many thanks. > > Ying > > [footer clipped] just like in unix. /dev/ttys[number] and /dev/tty[num] should be open... -- 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/