This is the mail archive of the
cygwin@sources.redhat.com
mailing list for the Cygwin project.
programming serial interface
- To: <cygwin at sourceware dot cygnus dot com>
- Subject: programming serial interface
- From: "Frank Wagner" <f dot wagner at gmx dot net>
- Date: Wed, 12 Jul 2000 21:38:03 +0200
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