pub unsafe extern "C" fn nstd_fs_dir_contents(
dir: *const c_char,
) -> NSTDVec
Expand description
Returns a vector of all a directory’s contents.
NOTE: Memory allocated by this function should be freed with nstd_fs_dir_contents_free
.
Parameters:
const char *const dir
- The directory.
Returns: NSTDVec contents
- The directory’s contents.