Thanks to H. Peter Anvin's efforts, with glibc-2.41.9000-20.fc43, we finally expose the current termios interfaces to applications. It only took us nearly two decades after kernel support arrives.
* On Linux, the <termios.h> interface now supports arbitrary baud rates; speed_t is redefined to simply be the baud rate specified as an unsigned int, which matches the kernel interface. Andreas Schwab found and fixed a missing header issue (openSUSE is good at exposes those quickly), and things look okay now. Given that compatibility symbols were needed for various baud-rate-related functions (cfgetispeed, cfgetospeed, cfsetispeed, cfsetospeed, cfsetspeed), there could be issues with FFI usage because the newer definitions are unexpectedly used. Thanks, Florian -- _______________________________________________ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue