al_path_cstr
const char *al_path_cstr(const ALLEGRO_PATH *path, char delim)
Introduced in 5.0.0
Convert a path to its string representation, i.e. optional drive, followed by directory components separated by 'delim', followed by an optional filename.
To use the current native path separator, use ALLEGRO_NATIVE_PATH_SEP for 'delim'.
The returned pointer is valid only until the path is modified in any way, or until the path is destroyed.
Examples: ex_get_path, ex_path, ex_path_test
Most helpful discussions:
- ALLEGRO_EVENT_DISPLAY_SWITCH_OUT
- ALLEGRO_PATH/ALLEGRO_FS_ENTRY and PHYSFS addon
- Check if entry is a folder
- allegro_image-5.2.dll - Cannot find or open the PDB file
- File system routines - al_get_path_tail() returning wrong path component
- ALLEGRO_NATIVE_PATH_SEP+PHYSFS bug on Windows?
- Allegro unable to load font
- Problems with Code:Blocks
- Filesystem access on android
- Creating executable files in Visual Studio
Other recent discussions: