1al_path_ustr(3) al_path_ustr(3)
2
3
4
6 al_path_ustr - Allegro 5 API
7
9 #include <allegro5/allegro.h>
10
11 const ALLEGRO_USTR *al_path_ustr(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 an ALLEGRO_USTR. If
23 you need a null-terminated string instead, use al_path_cstr(3).
24
26 5.2.3
27
29 al_path_cstr(3)
30
31
32
33Allegro reference manual al_path_ustr(3)