delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/08/05/12:14:32

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>,
<http://sourceware.cygnus.com/ml/#faqs>
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
From: "Philippe Noel" <pnoel AT socoint DOT com>
To: "Cygwin-List" <cygwin AT sourceware DOT cygnus DOT com>
Subject: Where are the TIOCM defines in Cygwin ???
Date: Thu, 5 Aug 1999 12:10:58 -0400
Message-ID: <003e01bedf5d$1b0d6d90$400010ac@philippe.socoint.com>
MIME-Version: 1.0
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook 8.5, Build 4.71.2377.0
Importance: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3

Hi,

My name is Philippe Noel.  I'm a fresh new reader of your mailing-list. :)
I'm currently porting a Linux application on WinNT using Cygwin-b20.

I have a problem compiling my application: Every TIOCM defines that are
defined in /usr/include/asm/termios.h and /usr/include/ioctl-types.h under
Linux, are not in Cygwin-b20.

The defines I'm using are the following:

ioctls.h:#define TIOCMGET       0x5415
ioctls.h:#define TIOCMSET       0x5418
ioctls.h:#define TIOCMIWAIT     0x545C

termios.h:#define TIOCM_DTR     0x002
termios.h:#define TIOCM_RTS     0x004
termios.h:#define TIOCM_CTS     0x020
termios.h:#define TIOCM_CAR     0x040
termios.h:#define TIOCM_RNG     0x080
termios.h:#define TIOCM_DSR     0x100
termios.h:#define TIOCM_CD      TIOCM_CAR


Is it something obsolete?  Or something not supported by Cygwin?

The only function I'm calling is "ioctl".  Is this function partially
supported or I only need to copy these defines in my source code?

Thanks,


P H I L I P P E   N O E L
Socomar International (1995) inc.


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


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