Function gpiocdev_uapi::v2::has_event

source ยท
pub fn has_event(f: &File) -> Result<bool>
Expand description

Check if the file has an event available to read.

For gpiochip files the events are LineInfoChangeEvent. For line request files the events are LineEdgeEvent.