delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/05/22/16:03:15

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: <000a01bfc428$dbb177c0$7b01000a@solipsys.com>
From: "Jeremy Frank" <jmfrank AT solipsys DOT com>
To: <cygwin AT sourceware DOT cygnus DOT com>
Subject: ioctl - TCGETS
Date: Mon, 22 May 2000 16:03:55 -0400
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.00.2919.6600
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600

------=_NextPart_000_0007_01BFC407.54843970
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

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);

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?




------=_NextPart_000_0007_01BFC407.54843970
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.2919.6307" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT size=3D2>When setting up a connection to a com port (in a =
UNIX=20
environment), I have to use the ioctl command as follows:</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=3D2>ioctl(fd, TCGETS, &amp;termio);</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=3D2>However, TCGETS is not defined in the cygwin =
termios.h=20
file.&nbsp; Is there an equivalent way of making this same call in the =
cygwin=20
environment?</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV></BODY></HTML>

------=_NextPart_000_0007_01BFC407.54843970--

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019