IOIteratorNext

Function IOIteratorNext 

Source
pub extern "C-unwind" fn IOIteratorNext(
    iterator: io_iterator_t,
) -> io_object_t
Available on crate feature libc only.
Expand description

Returns the next object in an iteration.

This function returns the next object in an iteration, or zero if no more remain or the iterator is invalid.

Parameter iterator: An IOKit iterator handle.

Returns: If the iterator handle is valid, the next element in the iteration is returned, otherwise zero is returned. The element should be released by the caller when it is finished.