IORegistryEntryGetChildEntry

Function IORegistryEntryGetChildEntry 

Source
pub unsafe extern "C-unwind" fn IORegistryEntryGetChildEntry(
    entry: io_registry_entry_t,
    plane: *mut [c_char; 128],
    child: *mut io_registry_entry_t,
) -> kern_return_t
Available on crate feature libc only.
Expand description

Returns the first child of a registry entry in a plane.

This function will return the child which first attached to a registry entry in a plane.

Parameter entry: The registry entry whose child to look up.

Parameter plane: The name of an existing registry plane. Plane names are defined in IOKitKeys.h, eg. kIOServicePlane.

Parameter child: The first child of the registry entry, on success. The child must be released by the caller.

Returns: A kern_return_t error code.