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 sourceware DOT cygnus DOT com> |
List-Archive: | <http://sourceware.cygnus.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT sourceware DOT cygnus DOT com> |
List-Help: | <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs> |
Sender: | cygwin-owner AT sourceware DOT cygnus DOT com |
Delivered-To: | mailing list cygwin AT sourceware DOT cygnus DOT com |
Message-Id: | <200005230021.RAA05137@aleph.ssd.hal.com> |
Subject: | Re: ioctl - TCGETS |
To: | cygwin AT sourceware DOT cygnus DOT com |
Date: | Mon, 22 May 2000 17:21:23 -0700 (PDT) |
In-Reply-To: | <000a01bfc428$dbb177c0$7b01000a@solipsys.com> from "Jeremy Frank" at May 22, 2000 04:03:55 PM |
From: | "J. J. Farrell" <jjf AT bcs DOT org DOT uk> |
X-Mailer: | ELM [version 2.5 PL2] |
MIME-Version: | 1.0 |
> From: "Jeremy Frank" <jmfrank AT solipsys DOT com> > > When setting up a connection to a com port (in a UNIX environment), I > have to use the ioctl command as follows: > > ioctl(fd, TCGETS, &termio); You shouldn't have to do that unless the release of Unix you are using is more than about 12 years old. > However, TCGETS is not defined in the cygwin termios.h file. Is there > an equivalent way of making this same call in the cygwin environment? tcgetattr() has been the Standard way to achieve this functionality on Unix for many years, and works on Cygwin AFAIK. -- 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 |