X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Date: Thu, 12 Mar 2009 09:33:53 +0100 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: IOCTL using Message-ID: <20090312083353.GB14431@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.19 (2009-02-20) Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com On Mar 11 22:57, Bert wrote: > When compiled on Cygwin's gcc the code below (which asks the baud rate of a > serial port) shows the error "Funtion Not Implemented". > > I tried several serial port ioctl functions in - all gave the > same error. > > > I hope I'm doing something really dumb, any tips? Yes. You're mixing POSIX calls with Windows defines. That's a no-no. When you're in Rome, talk like the Romans do. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat -- 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/