n_tty_receive_break(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– n_tty_receive_break(9) πŸ’–

okay bestie, welcome to the Kernel API Manual entry for n_tty_receive_break β€” yes, it's giving very niche kernel-core, and we're gonna understand it together 🫢✨


🌸 NAME 🌸

n_tty_receive_break β€” handle break


✨ SYNOPSIS ✨

void n_tty_receive_break (struct tty_struct *tty );

πŸŽ€ ARGUMENTS πŸŽ€

  • tty β€” terminal πŸ’»

πŸ¦‹ DESCRIPTION πŸ¦‹

So picture this: an RS232 break event has been hit in the incoming bitstream 😭✨ This can cause a whole variety of events depending upon the termios settings β€” like, it's not one fixed outcome, the termios config is lowkey the main character here πŸ’…

Locking: n_tty_receive_buf/producer path: caller holds non-exclusive termios_rwsem πŸ”’


⭐ NOTE ⭐

may get exclusive termios_rwsem if flushing input buffer πŸ‘€


🌈 SEE ALSO 🌈

Kernel file ./drivers/tty/n_tty.c, plus all these iconic neighbors:


and that's the whole vibe check, bestie β€” source path ./drivers/tty, date October 2026, periodt πŸ’…πŸŽ€πŸ«Ά

πŸ“¦ where this page comes from