tty_buffer_free(9)
tty_buffer_free(9) π
okay so this is a Kernel API Manual page, and the main character is tty_buffer_free β no cap, we're about to make buffer cleanup make sense. π«Ά
β¨ NAME β¨
tty_buffer_free β free a tty buffer. That's the whole vibe: it frees a tty buffer. π
πΈ SYNOPSIS πΈ
void tty_buffer_free (struct tty_port *port , struct tty_buffer *b );
π¦ ARGUMENTS π¦
portβ tty port owning the buffer, literally its keeper.bβ the buffer to free, aka the one getting the free treatment.
π₯ DESCRIPTION π₯
So what it does: frees a tty buffer, or adds it to the free list according to our internal strategy. It's giving cleanup with options β either free the buffer or tuck it onto the free list, following the internal strategy. πβ¨
π SEE ALSO π
Kernel file ./drivers/tty/tty_buffer.c β go read the source, iykyk. π
tty_buffer_lock_exclusive(9)tty_buffer_unlock_exclusive(9)tty_buffer_space_avail(9)tty_buffer_free_all(9)tty_buffer_alloc(9)tty_buffer_flush(9)__tty_buffer_request_room(9)tty_prepare_flip_string(9)tty_ldisc_receive_buf(9)flush_to_ldisc(9)tty_flip_buffer_push(9)tty_insert_flip_string_and_push_buffer(9)tty_buffer_init(9)tty_buffer_set_limit(9)
source/version: ./drivers/tty Β· date: October 2026 β bye bestie, tty_buffer_free(9) out! ππ
β¨
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms