tty_flush_works(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ tty_flush_works(9) πŸŽ€

okay so bestie, welcome to tty_flush_works(9) from the Kernel API Manual. This is the page about flushing all works of a tty/pty pair, and honestly? iconic cleanup behavior. 🧼✨


🌸 NAME 🌸

tty_flush_works β€” flush all works of a tty/pty pair.

πŸ’… SYNOPSIS πŸ’…

void tty_flush_works (struct tty_struct *tty );

🫢 ARGUMENTS 🫢

  • tty β€” tty device to flush works for (or either end of a pty pair). lowkey flexible, bestie. πŸ¦‹

✨ DESCRIPTION ✨

okay so the assignment is simple: Sync flush all works belonging to tty (and the 'other' tty). That’s it. That’s the vibe. no extra side quests, just flushing the works for the tty you passed in β€” and the other end of the pair too. πŸ’–

πŸ”— SEE ALSO πŸ”—

Kernel file ./drivers/tty/tty_io.c β€” yes, that’s the spot. here’s the whole friend group:


source: ./drivers/tty β€’ dated October 2026 β€’ page: tty_flush_works(9) β€” mwah, go flush responsibly πŸ’‹πŸŒΈ

πŸ“¦ where this page comes from