This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: IOCTL using <ddk/ntddser.h>
- From: Corinna Vinschen <corinna-cygwin at cygwin dot com>
- To: cygwin at cygwin dot com
- Date: Thu, 12 Mar 2009 09:33:53 +0100
- Subject: Re: IOCTL using <ddk/ntddser.h>
- References: <loom.20090311T224103-693@post.gmane.org>
- Reply-to: 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 <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.
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/