pub fn ncdirect_get_blocking(
ncd: &mut NcDirect,
input: Option<&mut NcInput>,
) -> NcResult_i32Expand description
Reads input blocking until an event is processed or a signal is received.
Will optionally write the event details in input.
In case of an invalid read (including on EOF) -1 is returned.
Method: NcDirect.get_blocking().