tty_ldisc_put(9)
π tty_ldisc_put(9) β Kernel API Manual β¨
okay so bestie, welcome to the Kernel API Manual, this is the page for tty_ldisc_put(9) and it's lowkey a two-second read but we're gonna make it cute anyway π
β¨ NAME β¨
tty_ldisc_put β release the ldisc, that's it, that's the whole job π«Ά
πΈ SYNOPSIS πΈ
void tty_ldisc_put (struct tty_ldisc *ld );
literally one function, one pointer, no return value, no drama π
π¦ ARGUMENTS π¦
ldβ the lisdsc to release π and yes, the original page fr fr says "lisdsc" and we are NOT fixing it, that's canon now, that's heritage, iykyk. (It means ldisc. The ldisc you're releasing.)
π DESCRIPTION π
So the whole vibe here is: this is the complement of tty_ldisc_get. That's the entire description and honestly? slay. short king behavior π tty_ldisc_get grabs it, tty_ldisc_put gives it back. balance. symmetry. main character energy π
π₯ SEE ALSO π₯
- Kernel file
./drivers/tty/tty_ldisc.c tty_register_ldisc(9)tty_unregister_ldisc(9)tty_ldisc_get(9)tty_ldisc_ref_wait(9)tty_ldisc_ref(9)tty_ldisc_deref(9)tty_ldisc_flush(9)tty_set_termios_ldisc(9)tty_ldisc_open(9)tty_ldisc_close(9)tty_ldisc_failto(9)tty_ldisc_restore(9)tty_set_ldisc(9)tty_ldisc_kill(9)tty_reset_termios(9)tty_ldisc_reinit(9)tty_ldisc_hangup(9)tty_ldisc_setup(9)tty_ldisc_release(9)tty_ldisc_init(9)tty_ldisc_deinit(9)
like, the whole ldisc friend group is here, we love a full roster π
ngl there's not a ton to say about this one β it releases the ldisc you got with tty_ldisc_get, and the manpage really does spell it "lisdsc" once. we don't gatekeep typos in this house π
and that's the page!! π§ from ./drivers/tty, dated October 2026 β catch you in the next manpage, bestie, mwah πβ
π¦ 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