pub fn ncdirect_get_nblock(
ncd: &mut NcDirect,
input: Option<&mut NcInput>,
) -> NcResult_i32Expand description
Reads input without blocking.
Will optionally write the event details in input.
If no event is ready, returns 0.
In case of an invalid read (including on EOF) -1 is returned.
Method: NcDirect.get_nblock().