tty_get_baud_rate(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ 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