1al_rebase_path(3) al_rebase_path(3)
2
3
4
6 al_rebase_path - Allegro 5 API
7
9 #include <allegro5/allegro.h>
10
11 bool al_rebase_path(const ALLEGRO_PATH *head, ALLEGRO_PATH *tail)
12
14 Concatenate two path structures, modifying the second path structure.
15 If tail is an absolute path, this function does nothing. Otherwise,
16 the drive and path components in head are inserted at the start of
17 tail.
18
19 For example, if head is “/anchor/” and tail is “data/file.ext”, then
20 after the call tail becomes “/anchor/data/file.ext”.
21
23 al_join_paths(3)
24
25
26
27Allegro reference manual al_rebase_path(3)