tty_wait_until_sent(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… tty_wait_until_sent(9) β€” Kernel API Manual energy πŸ’…

okay so this is the Kernel API Manual page for tty_wait_until_sent(9), and it is literally about waiting for I/O to finish. not me being obsessed with a tiny wait function, but here we are 🫢.

🌸 NAME 🌸

tty_wait_until_sent β€” wait for I/O to finish.

✨ SYNOPSIS ✨

void tty_wait_until_sent (struct tty_struct *tty , long timeout );

πŸŽ€ ARGUMENTS πŸŽ€

  • tty β€” the tty we are waiting for. that’s the one, bestie πŸŽ€
  • timeout β€” how long we will wait. the clock is clocking ⏳

πŸ¦‹ DESCRIPTION πŸ¦‹

so the whole vibe is: wait for characters pending in a tty driver to hit the wire, or wait for a timeout to occur (eg due to flow control). that’s the main-character mission, no cap ✨.

Locking: none. periodt. no locking moment here πŸ’….

πŸ’œ SEE ALSO πŸ’œ

Kernel file: ./drivers/tty/tty_ioctl.c β€” and here’s the whole SEE ALSO squad, iykyk:


okay bye bestie 🫢 β€” source/version/date moment: ./drivers/tty, October 2026, tty_wait_until_sent(9). slay πŸ’…βœ¨

πŸ“¦ where this page comes from