pub unsafe extern "C-unwind" fn IOServiceAddNotification(
main_port: mach_port_t,
notification_type: *mut [c_char; 128],
matching: Option<&CFDictionary>,
wake_port: mach_port_t,
reference: usize,
notification: *mut io_iterator_t,
) -> kern_return_t๐Deprecated
Available on crate feature
libc only.Expand description
ยงSafety
notification_typeArray TODO.matchinggenerics must be of the correct type.matchingmight not allowNone.notificationmust be a valid pointer.