]> sourceware.org Git - newlib-cygwin.git/commit
Cygwin: cfsetspeed: allow speed to be a numerical baud rate
authorKen Brown <kbrown@cornell.edu>
Sun, 11 Jul 2021 11:04:58 +0000 (07:04 -0400)
committerKen Brown <kbrown@cornell.edu>
Mon, 12 Jul 2021 20:26:13 +0000 (16:26 -0400)
commitcee03513d80568a68cf1be2ca70385afdcaaaec3
treebf8800442d3a6daa437099e80e91c879a04daf4d
parent91f99d323b39dc0c06c40038791db9861d4b76b9
Cygwin: cfsetspeed: allow speed to be a numerical baud rate

The Linux man page for cfsetspeed(3) specifies that the speed argument
must be one of the constants Bnnn (e.g., B9600) defined in termios.h.
But Linux in fact allows the speed to be the numerical baud rate
(e.g., 9600).  For consistency with Linux, we now do the same.

Addresses: https://cygwin.com/pipermail/cygwin/2021-July/248887.html
winsup/cygwin/release/3.2.1
winsup/cygwin/termios.cc
winsup/doc/new-features.xml
This page took 0.032198 seconds and 5 git commands to generate.