pub extern "C-unwind" fn IOIteratorIsValid(
iterator: io_iterator_t,
) -> boolAvailable on crate feature
libc only.Expand description
Checks an iterator is still valid.
Some iterators will be made invalid if changes are made to the structure they are iterating over. This function checks the iterator is still valid and should be called when IOIteratorNext returns zero. An invalid iterator can be reset and the iteration restarted.
Parameter iterator: An IOKit iterator handle.
Returns: True if the iterator handle is valid, otherwise false is returned.