vt_clr_kbd_mode_bit(9)
π vt_clr_kbd_mode_bit(9) β Kernel API Manual π
okay bestie, welcome to the vt_clr_kbd_mode_bit page from the Kernel API Manual. The NAME line says itβs for βread keyboard status bits,β and we are keeping that exactly as the page says it. β¨
π SYNOPSIS π
void vt_clr_kbd_mode_bit (unsigned int console , int bit );
π¦ ARGUMENTS π¦
consoleβ the console to read from, bestie.bitβ the mode bit to read.
πΈ DESCRIPTION πΈ
This reports back a vt mode bit. The tea is: it does this without locking, so the caller has to be sure that there are no synchronization needs. No cap, that part is on you. π
Locking? Not here. So please donβt roll up with synchronization needs and expect this function to handle them. π
π SEE ALSO π
Kernel file: ./drivers/tty/vt/keyboard.c
Also go look at vt_get_leds(9), vt_set_led_state(9), vt_kbd_con_start(9), vt_kbd_con_stop(9), vt_do_diacrit(9), vt_do_kdskbmode(9), vt_do_kdskbmeta(9), vt_do_kdgkbmeta(9), vt_reset_unicode(9), vt_get_shift_state(9), vt_reset_keyboard(9), vt_get_kbd_mode_bit(9), and vt_set_kbd_mode_bit(9). Itβs giving βkeyboard lore deep dive,β and honestly? Obsessed. π«Ά
Source/version: ./drivers/tty/vt Β· date: October 2026 Β· page: vt_clr_kbd_mode_bit(9) β mwah, thatβs the whole footer, bestie πβ¨
π¦ 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