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: Accessing RS-232 serial port under Cygwin



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/


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