FSEventStreamCreateRelativeToDevice

Function FSEventStreamCreateRelativeToDevice 

Source
pub unsafe extern "C-unwind" fn FSEventStreamCreateRelativeToDevice(
    allocator: Option<&CFAllocator>,
    callback: FSEventStreamCallback,
    context: *mut FSEventStreamContext,
    device_to_watch: dev_t,
    paths_to_watch_relative_to_device: &CFArray,
    since_when: FSEventStreamEventId,
    latency: CFTimeInterval,
    flags: FSEventStreamCreateFlags,
) -> FSEventStreamRef
Available on crate features FSEvents and libc only.
Expand description

ยงSafety

  • callback must be implemented correctly.
  • context must be a valid pointer or null.
  • paths_to_watch_relative_to_device generic must be of the correct type.