tty_chars_in_buffer(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… NAME πŸ’…

okay bestie, this is tty_chars_in_buffer(9) from the Kernel API Manual ✨ and the name literally says it all: tty_chars_in_buffer β€” characters pending, periodt πŸ’…


✨ SYNOPSIS ✨

the signature is exactly this, no cap:

unsigned int tty_chars_in_buffer (struct tty_struct *tty );

πŸŽ€ ARGUMENTS πŸŽ€

  • tty β€” terminal, bestie 🫢

πŸ’– RETURN πŸ’–

it returns the number of bytes of data in the device private output queue ✨

lowkey important: if no private method is supplied, it’s assumed there’s no queue on the device πŸ™ˆ

πŸ¦‹ SEE ALSO πŸ¦‹


that’s the whole page, bestie 🫢 source/version: ./drivers/tty; date: October 2026; and yes, it’s tty_chars_in_buffer(9) from the Kernel API Manual. byeee πŸ’–πŸŽ€

πŸ“¦ where this page comes from