This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Serial programming patch


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]