programming serial interface

Frank Wagner f.wagner@gmx.net
Wed Jul 12 12:40:00 GMT 2000


Hello,

I want to program a windows (dos) application that uses the serial
interface.
I looked to the linux serial programming howto but I don't know whether
I can
port the exaples as is.
For example in this howto document there is a definition like this:

#define MODEMDEVICE "/dev/ttyS1"

Is this definition equal to windows, have I replace  the string in
question marks
to com1 or com2 or are the string  free form?

Maybe someone can send me a code example how to control the serial
interface
with C/C++ and use of teh libc.

Greetings

Frank

=========================
Frank Wagner
Registered Linux User 146442
E-mail  f.wagner@gmx.net
=========================




--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com



More information about the Cygwin mailing list