pub unsafe extern "C" fn xila_directory_iterator_next(
iterator: *mut DirectoryIterator,
name_buffer: *mut c_char,
capacity: usize,
name_length: *mut usize,
kind: *mut u32,
) -> StatusExpand description
Copy a name without a trailing NUL, skipping dot entries. End leaves outputs unchanged. BufferTooSmall writes only required name_length and retains the entry.
ยงSafety
Iterator must be live and exclusively accessed. Buffer must be writable for capacity bytes (null allowed only at zero capacity). Outputs must be aligned, writable and disjoint from each other, the buffer and iterator.