[PATCH] add cfsetspeed

Christopher Faylor cgf-use-the-mailinglist-please@cygwin.com
Wed Nov 21 15:22:00 GMT 2012


On Wed, Nov 21, 2012 at 04:54:03AM -0600, Yaakov (Cygwin/X) wrote:
>This patchset adds cfsetspeed(3), a BSD extension also available in
>glibc:
>
>http://man7.org/linux/man-pages/man3/termios.3.html
>
>Per the description, cfsetspeed() is the equivalent of cfsetospeed() and
>cfsetispeed() with the same baud rate.  Patch for winsup/cygwin
>attached.
>
>
>Yaakov
>

>2012-11-21  Yaakov Selkowitz  <yselkowitz@...>
>
>	* termios.cc (cfsetspeed): New function.
>	* cygwin.din (cfsetspeed): Export.
>	* posix.sgml (std-bsd): Add cfsetspeed.
>	* include/sys/termios.h (cfsetspeed): Declare.
>	* include/cygwin/version.h (CYGWIN_VERSION_API_MINOR): Bump.

Looks good.  Please check in.

Thanks.

cgf



More information about the Cygwin-patches mailing list