This is the mail archive of the cygwin@sources.redhat.com 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]

programming serial interface


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


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