tty_get_baud_rate(9)
π tty_get_baud_rate(9) π
okay bestie, welcome to the Kernel API Manual page for tty_get_baud_rate(9) β literally the glow-up guide for getting tty bit rates π
β¨ NAME β¨
tty_get_baud_rate β get tty bit rates π¦
πΈ SYNOPSIS πΈ
speed_t tty_get_baud_rate (const struct tty_struct *tty );
π¬ ARGUMENTS π¬
ttyβ the tty you wanna query, bestie π
β RETURN β
the baud rate as an integer for this terminal β yes, an actual integer, no cap π
π₯ DESCRIPTION π₯
Locking: The termios lock must be held by the caller. like, this is the main character rule of the whole page β if you're the caller, you gotta be holding that lock π
π¦ SEE ALSO π¦
Kernel file ./include/linux/tty.h β plus struct tty_struct(9), enum tty_struct_flags(9), and tty_kref_get(9) π«Ά
mwah π β source/version ./include/linux, dated October 2026, and this is still the tty_get_baud_rate(9) page, periodt β¨
π¦ 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