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,
) -> FSEventStreamRefAvailable on crate features
FSEvents and libc only.Expand description
ยงSafety
callbackmust be implemented correctly.contextmust be a valid pointer or null.paths_to_watch_relative_to_devicegeneric must be of the correct type.