vt_resize(9)
π NAME
vt_resize β resize a VT. Yep, that's the whole vibe, and this is the Kernel API Manual page for vt_resize(9), bestie. π
β¨ SYNOPSIS
int vt_resize (struct tty_struct *tty , struct winsize *ws );
π¦ ARGUMENTS
ttyβ thettyto resize. That's the terminal bestie getting the glow-up. π«Άwsβ thewinsizeattributes. Basically the size tea. π
π DESCRIPTION
Okay so vt_resize resizes a virtual terminal. It gets called by the tty layer as we register our own handler for resizing β very main character of us, ngl. The mutual helper does all the actual work, so vt_resize is lowkey the pretty face of the operation. β¨
π Locking: takes the console sem and the called methods then take thettytermios_rwsemand thettyctrl.lockin that order. That order is not a suggestion, bestie β it's giving strict choreography. π
π SEE ALSO
Kernel file: ./drivers/tty/vt/vt.c β go say hi, it's iconic. π¦
vc_font_pitch(9)vc_font_size(9)vc_do_resize(9)__vc_resize(9)enum vc_ctl_state(9)vc_sanitize_unicode(9)vc_translate_unicode(9)vt_kmsg_redirect(9)con_is_bound(9)con_is_visible(9)con_debug_enter(9)con_debug_leave(9)do_unregister_con_driver(9)
mwah π β this page lives under ./drivers/tty/vt, dated October 2026, and it's the vt_resize(9) manual page. byeee π«Ά
π¦ 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