delorie.com/archives/browse.cgi | search |
X-Spam-Check-By: | sourceware.org |
Date: | Tue, 16 May 2006 13:55:02 +0200 |
From: | Samuel Thibault <samuel DOT thibault AT ens-lyon DOT org> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: ioctl() not implemented |
Message-ID: | <20060516115502.GE4279@implementation.labri.fr> |
Mail-Followup-To: | cygwin AT cygwin DOT com |
References: | <4469BBFC DOT 5030401 AT email DOT it> |
Mime-Version: | 1.0 |
In-Reply-To: | <4469BBFC.5030401@email.it> |
User-Agent: | Mutt/1.5.11 |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
Andrea Pacini, le Tue 16 May 2006 13:48:12 +0200, a écrit : > I am compiling a Linux app under Cygwin and I get the following error: > > ioctl: Function not implemented > > How can I solve it ? > > if(ioctl(fd, TIOCMBIS, &i) == -1) err(1, "ioctl"); This is the culprit. Does fd correctly refers to a serial device? (if it's really not implemented, it shouldn't be big trouble to implement it through SetCommState()). Samuel -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |