IORegistryEntryGetChildIterator

Function IORegistryEntryGetChildIterator 

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

Returns an iterator over an registry entry’s child entries in a plane.

This method creates an iterator which will return each of a registry entry’s child entries in a specified plane.

Parameter entry: The registry entry whose children to iterate over.

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

Parameter iterator: The created iterator over the children of the entry, on success. The iterator must be released when the iteration is finished.

Returns: A kern_return_t error code.