Get the current search path.
Defined in <physfs.h>
char ** PHYSFS_getSearchPath(void);(char **) Returns Null-terminated array of null-terminated strings. NULL if there was a problem (read: OUT OF MEMORY).
The default search path is an empty list.
The returned value is an array of strings, with a NULL entry to signify the end of the list:
for (char **i = PHYSFS_getSearchPath(); *i != NULL; i++) {
printf("[%s] is in the search path.\n", *i);
}When you are done with the returned information, you may dispose of the resources by calling PHYSFS_freeList() with the returned pointer.
It is safe to call this function from any thread.
This function is available since PhysicsFS 1.0.0.