delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT sources DOT redhat DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT sources DOT redhat DOT com> |
List-Help: | <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs> |
Sender: | cygwin-owner AT sources DOT redhat DOT com |
Delivered-To: | mailing list cygwin AT sources DOT redhat DOT com |
Message-ID: | <017001bfec38$b2e46720$0201a8c0@mark> |
From: | "Frank Wagner" <f DOT wagner AT gmx DOT net> |
To: | <cygwin AT sourceware DOT cygnus DOT com> |
Subject: | programming serial interface |
Date: | Wed, 12 Jul 2000 21:38:03 +0200 |
X-Priority: | 3 |
X-MSMail-Priority: | Normal |
X-Mailer: | Microsoft Outlook Express 5.00.2014.211 |
X-MimeOLE: | Produced By Microsoft MimeOLE V5.00.2014.211 |
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 DOT wagner AT gmx DOT net ========================= -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |