pty_resize(9)
π pty_resize(9) π
okay so bestie, welcome to the pty_resize(9) page from the Kernel API Manual β it's giving kernel-level resize realness, and yes, we're gonna read it together π
πΈ NAME πΈ
pty_resize β resize event. That's the whole vibe: it's the resize event, periodt.
β¨ SYNOPSIS β¨
int pty_resize (struct tty_struct *tty , struct winsize *ws );
π ARGUMENTS π
ttyβ the tty that's being resized π«Άwsβ the window size that's being set β¨
π¦ DESCRIPTION π¦
okay so here's the tea: pty_resize updates the termios variables and sends the necessary signals so a terminal resize happens correctly. That's it, that's the whole slay. No cap, it's literally making the resize behave π
π SEE ALSO π
- the kernel file:
./drivers/tty/pty.cπ pty_write(9)pty_write_room(9)pty_start(9)pty_common_install(9)ptm_open_peer(9)ptm_unix98_lookup(9)pts_unix98_lookup(9)ptmx_open(9)
source/version: ./drivers/tty Β· date: October 2026 β bye bestie, go resize something cute πβ¨
π¦ 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