Accessing RS-232 serial port under Cygwin

Morgan gangwere 0.fractalus@gmail.com
Fri Jul 27 17:18:00 GMT 2007


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/



More information about the Cygwin mailing list