Serial programming patch

J. J. Farrell jjf@bcs.org.uk
Tue May 22 18:21:00 GMT 2001


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


More information about the Cygwin mailing list

AltStyle によって変換されたページ (->オリジナル) /