IOServiceRequestProbe

Function IOServiceRequestProbe 

Source
pub extern "C-unwind" fn IOServiceRequestProbe(
    service: io_service_t,
    options: u32,
) -> kern_return_t
Available on crate feature libc only.
Expand description

A request to rescan a bus for device changes.

A non kernel client may request a bus or controller rescan for added or removed devices, if the bus family does automatically notice such changes. For example, SCSI bus controllers do not notice device changes. The implementation of this routine is family dependent, and the default IOService implementation returns kIOReturnUnsupported.

Parameter service: The IOService object to request a rescan, usually obtained via the IOServiceGetMatchingServices or IOServiceAddNotification APIs.

Parameter options: An options mask, interpreted only by the IOService’s family.

Returns: A return code generated by IOService::requestProbe.