IOCTL using <ddk/ntddser.h>

Christopher Faylor cgf-use-the-mailinglist-please@cygwin.com
Thu Mar 12 14:05:00 GMT 2009


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?



More information about the Cygwin-talk mailing list