tty_port_raise_dtr_rts(9)
π tty_port_raise_dtr_rts β Kernel API Manual, bestie edition π
okay so we're in the Kernel API Manual today, and the page is tty_port_raise_dtr_rts(9). it's short, it's sweet, it's giving "one job and she does it" energy. let's go π
β¨ NAME β¨
tty_port_raise_dtr_rts β raise DTR/RTS π
like, that's it. that's the whole name. she raises DTR/RTS. iconic behaviour, no notes.
πΈ SYNOPSIS πΈ
void tty_port_raise_dtr_rts (struct tty_port *port );
yup, that's the whole signature. returns void (so don't come looking for a return value, she gives you nothing and she's valid for it π), and takes exactly one thing.
π¦ ARGUMENTS π¦
portβ the tty port. that's your one and only input, bestie. hand her the port and let her cook π«Ά
π§ DESCRIPTION π§
so basically this is a wrapper for the DTR/RTS raise logic. like, she's the little middle-man function standing in front of the real work. lowkey a vibe.
for the moment, this is used to hide some internal details. so if you're squinting at it going "why is this just a wrapper", that's why β the messy bits are tucked behind her β¨
and heads up for the future: this will eventually become entirely internal to the tty port. so like, this is a "don't get too attached, she's getting promoted to private" situation. no cap. π
π₯ SEE ALSO π₯
the kernel file itself lives at ./drivers/tty/tty_port.c β that's where the real gossip is π and here's the whole friend group:
tty_port_init(9)tty_port_link_wq(9)tty_port_link_device(9)tty_port_register_device(9)tty_port_register_device_attr(9)tty_port_register_device_attr_serdev(9)tty_port_unregister_device(9)tty_port_destroy(9)tty_port_put(9)tty_port_tty_get(9)tty_port_tty_set(9)tty_port_shutdown(9)tty_port_hangup(9)tty_port_tty_hangup(9)tty_port_tty_vhangup(9)tty_port_tty_wakeup(9)tty_port_carrier_raised(9)tty_port_lower_dtr_rts(9)β yes, the opposite twin, she's here too πtty_port_block_til_ready(9)tty_port_close_start(9)tty_port_close_end(9)tty_port_close(9)tty_port_install(9)tty_port_open(9)
ngl this page is tiny but she's doing exactly what she says on the tin: raise DTR/RTS, hide the internals, and wait politely until she's fully internal to the tty port. periodt. π
k that's the whole page, mwah π this came from ./drivers/tty, dated October 2026 β so yeah, mark your calendars bestie, and go raise some DTR/RTS, you've got this πβπ«Ά
π¦ 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