destroy_tty_buffer(9)
β¨ destroy_tty_buffer(9) β¨
okay bestie, welcome to the Kernel API Manual β this is destroy_tty_buffer(9), and honestly? it's giving cleanup era. π§Ήπ
πΈ NAME πΈ
destroy_tty_buffer β destroy struct iucv_tty_buffer element.
like, it literally destroys it. no cap. π₯
π¦ SYNOPSIS π¦
void destroy_tty_buffer (struct iucv_tty_buffer *bufp );
that's the whole vibe: you hand it a pointer, it does the destruction thing. periodt. β¨
π ARGUMENTS π
bufpβ Pointer to astruct iucv_tty_bufferelement, and it SHALL NOT be NULL. π«Ά fr fr, do not passNULLhere. that's the one rule. respect it.
π SEE ALSO π
so this function does not exist in a vacuum, bestie β it's part of the whole ./drivers/tty/hvc/hvc_iucv.c friend group π and here's every single one of them, no gatekeeping:
Kernel file ./drivers/tty/hvc/hvc_iucv.c hvc_iucv_get_private(9),
alloc_tty_buffer(9), destroy_tty_buffer_list(9), hvc_iucv_write(9),
hvc_iucv_get_chars(9), hvc_iucv_queue(9), hvc_iucv_send(9),
hvc_iucv_sndbuf_work(9), hvc_iucv_put_chars(9),
hvc_iucv_notifier_add(9), hvc_iucv_cleanup(9), tty_outqueue_empty(9),
flush_sndbuf_sync(9), hvc_iucv_hangup(9), hvc_iucv_notifier_hangup(9),
hvc_iucv_dtr_rts(9), hvc_iucv_notifier_del(9),
hvc_iucv_filter_connreq(9), hvc_iucv_path_pending(9),
hvc_iucv_path_severed(9), hvc_iucv_msg_pending(9),
hvc_iucv_msg_complete(9), hvc_iucv_alloc(9), hvc_iucv_destroy(9),
hvc_iucv_parse_filter(9), hvc_iucv_setup_filter(9),
param_set_vmidfilter(9), param_get_vmidfilter(9), hvc_iucv_init(9),
hvc_iucv_config(9)
like, that's the entire cast. main character energy across the board. πβ
lowkey a whole ecosystem of buffer functions and you're here for just the one that yeets a single struct iucv_tty_buffer element. iconic behavior honestly. π
and that's the page!! this gem lives in ./drivers/tty/hvc, version/date October 2026, and the manual is destroy_tty_buffer(9) β mwah, bye bestie πππ¦π
π¦ 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