delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/11/20/04:07:41

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: <01C052D9.82FD67C0.kern@sibbald.com>
From: Kern Sibbald <kern AT sibbald DOT com>
Reply-To: "kern AT sibbald DOT com" <kern AT sibbald DOT com>
To: "'cygwin AT cygwin DOT com'" <cygwin AT cygwin DOT com>
Subject: ioctl() support
Date: Mon, 20 Nov 2000 10:06:11 +0100
X-Mailer: Microsoft Internet E-mail/MAPI - 8.0.0.4211
Encoding: 28 TEXT

Hello,

I'm running CYGWIN 1.1.2 (my Xlib didn't work with 1.1.4; will
soon try 1.1.5), and am very happy with it. I have built a
version of apcupsd (UPS daemon) that works great on Win32
except for "dumb" UPSes which require serial line control
with ioctl() TIOCMBIS, TIOCMBIC, and TIOCMGET.  My ioctl()
calls always return with "Invalid argument".  

In a quick look at the CYGWIN source, it appears that you do
not support TIOCMBIS, TIOCMBIC, and TIOCMGET.
Is this true or am I missing something?

If you do not support them, do you have any plans to support
them?

Assuming that you do not support them, is there any way after
I do an open() on the serial port that I can get the Windows
serial port handle so that I can interface directly to the
port with GetCommModemStatus() and EscapeCommFunction()
without having to rewrite all the open()/close() code 
that you have already so nicely done?

Thanks for the great product.

Best regards,

Kern


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