This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: Serial programming patch
- To: <cygwin at sources dot redhat dot com>
- Subject: Re: Serial programming patch
- From: "J. J. Farrell" <jjf at bcs dot org dot uk>
- Date: Tue, 22 May 2001 18:21:37 -0700
From: Jacek Trzcinski <jacek@certum.pl>
>
> Here is my patch to serial device. I implemented ioctl function which
> makes possible
> to get modem lines state (CTS,DSR,RI,CD) and set(get) modem control
> lines (RTS and DTR)
>
> ...
>
> +
> +/* ioctl: POSIX */
> +int
> +fhandler_serial::ioctl (unsigned int cmd,void * buffer)
Just a very minor nit-pick: it might reduce future confusion if the word
"POSIX" were removed from that comment. POSIX doesn't specify an ioctl()
function or any means to access the modem control signals on serial lines.
--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple