get_ordered_filename_array()
#
Retrieve an ordered array of filenames from a directory.
Prototype
PUBLIC char **get_ordered_filename_array(
const char *path,
int *file_count
);
Parameters
Key |
Type |
Description |
---|---|---|
|
|
The path to the directory. |
|
|
A pointer to store the number of files in the array. |
Return Value
Returns an ordered array of filenames, or NULL
on failure. The caller is responsible for freeing the array.
Prototype
// Not applicable in JS
Prototype
# Not applicable in Python
Examples
// TODO C examples
// TODO JS examples
# TODO Python examples