This is the mail archive of the
cygwin-talk
mailing list for the cygwin project.
Re: IOCTL using <ddk/ntddser.h>
- From: Christopher Faylor <cgf-use-the-mailinglist-please at cygwin dot com>
- To: cygwin-talk at cygwin dot com
- Date: Thu, 12 Mar 2009 10:05:01 -0400
- Subject: Re: IOCTL using <ddk/ntddser.h>
- References: <loom.20090311T224103-693@post.gmane.org> <20090312083353.GB14431@calimero.vinschen.de>
- Reply-to: cygwin-talk at cygwin dot com
- Reply-to: The Vulgar and Unprofessional Cygwin-Talk List <cygwin-talk at cygwin dot com>
On Thu, Mar 12, 2009 at 09:33:53AM +0100, Corinna Vinschen wrote:
>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 <ddk/ntddser.h> - 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.
That would mean either Italian or English. Computers don't speak those
languages!
Why don't you make Cygwin easier to use?