|
|
Message-ID: <aY315MyaQp66kBVq@intrepid> Date: Thu, 12 Feb 2026 16:47:16 +0100 From: Markus Wichmann <nullplan@....net> To: musl@...ts.openwall.com Cc: "Kokkonda, Sundeep" <Sundeep.Kokkonda@...driver.com> Subject: Re: Question: Support for custom (non-standard) baud rates in musl Am Wed, Feb 11, 2026 at 08:33:46PM +0000 schrieb Dora, Sunil Kumar: > Hi, > I am currently investigating a build issue in GDB related to setting custom (non-standard) baud rates on Linux. > From reviewing musl's termios implementation, I noticed: > > * > cfsetospeed / cfsetispeed appear to return EINVAL for non-standard baud rates. > * > The c_ispeed / c_ospeed fields are not exposed with the same naming as in glibc. > * > Linux-specific interfaces such as termios2, BOTHER, TCGETS2, etc., are not visible through the standard musl headers. > > I would like to confirm whether the lack of support for arbitrary/custom baud rates (via BOTHER / termios2) is an intentional design decision in musl. > If custom baud rates are expected to work on musl-based Linux systems, I would appreciate guidance on the correct and supported approach. > Thank you for your time. > Best regards, > Sunil Dora > There is currently no support for arbitrary baud rates. If it is ever added, then likely via cfsetospeed(). Ciao, Markus
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.