tty_termios_baud_rate(9)
π tty_termios_baud_rate(9) π
okay bestie, this is the Kernel API Manual page for tty_termios_baud_rate(9), and we're about to make termios baud-rate lore make sense. β¨
πΈ NAME πΈ
tty_termios_baud_rate β that's the whole NAME entry; the dash is there, and there's no extra summary text after it, so no invented description here, periodt. π
π SYNOPSIS π
speed_t tty_termios_baud_rate (const struct ktermios *termios );
π¦ ARGUMENTS π¦
termiosβ the termios structure. That's the argument, bestie. π«Ά
β DESCRIPTION β
okay so this function converts termios baud rate data into a speed. Main character behavior, honestly. π₯
If this termios is a terminal termios structure, you should call this with the termios lock held. That's the recommended move β don't skip the lock situation. π
Device drivers can call this function, but they should use ->c_[io]speed directly, as they are updated. iykyk. π
Locking: none.
π SEE ALSO π
- Kernel file
./drivers/tty/tty_baudrate.c tty_termios_input_baud_rate(9)tty_termios_encode_baud_rate(9)tty_encode_baud_rate(9)
signing off from source/version ./drivers/tty and date October 2026, on the tty_termios_baud_rate(9) page β mwah ππ
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms