IOServiceAddNotification

Function IOServiceAddNotification 

Source
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_type Array TODO.
  • matching generics must be of the correct type.
  • matching might not allow None.
  • notification must be a valid pointer.