Method lrs::inotify::Inotify::events

Reads events and creates an iterator over those events.

Syntax

impl Inotify {
    fn events(&self, buf: &'a mut [u8]) -> Result<InodeDataIter<'a>, Errno>
}

Arguments

NameDescription
buf

The buffer in which the events will be stored.

Remarks

The buffer will be aligned for u32 data, meaning that up to 3 bytes of buffer space are lost.