con_is_bound(9)
π con_is_bound(9)
okay bestie, welcome to the Kernel API Manual β this one's a tiny little function from the kernel world and honestly it's giving "small but mighty" π
β¨ NAME β¨
con_is_bound β literally checks if a driver is bound to the console π
πΈ SYNOPSIS πΈ
int con_is_bound (const struct consw *csw );
π¦ ARGUMENTS π¦
cswβ the console driver, bestie. that's the vibes you're checking π
β RETURN β
zeroif it's unbound π«- nonzero if it's bound β
like, zero = no, anything else = yes. iconique.
π DESCRIPTION π
so here's the tea β drivers can call this function, and if it comes back zero, they should release all resources allocated on consw.con_startup. no cap β zero means pack it up and free everything π§Ήβ¨
π SEE ALSO π
Kernel file ./drivers/tty/vt/vt.c β and the whole squad, fr fr:
vc_font_pitch(9)vc_font_size(9)vc_do_resize(9)__vc_resize(9)vt_resize(9)enum vc_ctl_state(9)vc_sanitize_unicode(9)vc_translate_unicode(9)vt_kmsg_redirect(9)con_is_visible(9)con_debug_enter(9)con_debug_leave(9)do_unregister_con_driver(9)
and that's the whole page, bestie π mwah π
this lil gem lives in ./drivers/tty/vt and was dated October 2026 β go off, king πβ¨
π¦ 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