1al_path_cstr(3) al_path_cstr(3)
2
3
4
6 al_path_cstr - Allegro 5 API
7
9 #include <allegro5/allegro.h>
10
11 const char *al_path_cstr(const ALLEGRO_PATH *path, char delim)
12
14 Convert a path to its string representation, i.e. optional drive, fol‐
15 lowed by directory components separated by 'delim', followed by an op‐
16 tional filename.
17
18 To use the current native path separator, use ALLEGRO_NATIVE_PATH_SEP
19 for 'delim'.
20
21 The returned pointer is valid only until the path is modified in any
22 way, or until the path is destroyed. This returns a null-terminated
23 string. If you need an ALLEGRO_USTR instead, use al_path_ustr(3).
24
26 al_path_ustr(3)
27
28
29
30Allegro reference manual al_path_cstr(3)