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:
- KrampusHack 2016
- upgrading tank war codebase to allegro 5
- ALLEGRO_PATH implementation
- Allegro 5 file system
- Cannot load sample.
- Hello, font loading keeps crashing in allegro5?
- Segmentation fault al_map_rgb
- Segmentation Fault while "al_convert_mask_to_alpha".
- valgrind reporting 1000000 still reachable blocks at the end of my program
- Changing the directory where allegro.log is written
Other recent discussions:
- al_is_path_present
- ALLEGRO 5 - Bitmap Corruption after writing to source image
- al_clone_bitmap() of backbuffer gives bad results with OGL
- [A5] troubles with Ogg
- [A5] File exists, but won't load
- al_make_path_canonical() issue
- problem loading config file again
- Crash in iOS simulator iOS 8 when rotating screen left
- Native file dialog patch
- [A5] al_create_native_file_dialog() Windows source?