pub fn inotify_read(
instance_id: u64,
max_count: usize,
) -> Result<Vec<InotifyEvent>, KernelError>Expand description
Read pending events from an inotify instance.
Returns up to max_count events, removing them from the queue.
Returns an empty Vec if no events are pending.