1al_create_path(3) al_create_path(3)
2
3
4
6 al_create_path - Allegro 5 API
7
9 #include <allegro5/allegro.h>
10
11 ALLEGRO_PATH *al_create_path(const char *str)
12
14 Create a path structure from a string. The last component, if it is
15 followed by a directory separator and is neither “.” nor “..”, is
16 treated as the last directory name in the path. Otherwise the last
17 component is treated as the filename. The string may be NULL for an
18 empty path.
19
21 al_create_path_for_directory(3), al_destroy_path(3)
22
23
24
25Allegro reference manual al_create_path(3)