pub fn evdev_switch_state<'b>(
d: BorrowedFd<'_>,
bitmap: &'b mut [u8],
) -> Result<&'b [u8], Errno>Expand description
EVIOCGSW(len) — état des interrupteurs (capot, jack…).
§Errors
- [
Errno::ENOTTY] :devicen’est pas un periphérique evdev.