Function arceos_api::fs::ax_read_dir
source · pub fn ax_read_dir(
dir: &mut AxDirHandle,
dirents: &mut [AxDirEntry]
) -> AxResult<usize>
Available on crate feature
fs
only.Expand description
Reads directory entries starts from the current position into the given buffer, returns the number of entries read.
After the read, the cursor of the directory will be advanced by the number of entries read.