vt_clr_kbd_mode_bit(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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