⚠️ VeridianOS Kernel Documentation - This is low-level kernel code. All functions are unsafe unless explicitly marked otherwise. no_std

inotify_read

Function inotify_read 

Source
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.