1al_join_paths(3)                                              al_join_paths(3)
2
3
4

NAME

6       al_join_paths - Allegro 5 API
7

SYNOPSIS

9              #include <allegro5/allegro.h>
10
11              bool al_join_paths(ALLEGRO_PATH *path, const ALLEGRO_PATH *tail)
12

DESCRIPTION

14       Concatenate two path structures.  The first path structure is modified.
15       If `tail' is an absolute path, this function does nothing.
16
17       If `tail' is a relative path, all of its directory components  will  be
18       appended  to  `path'.  tail’s filename will also overwrite path’s file‐
19       name, even if it is just the empty string.
20
21       Tail’s drive is ignored.
22
23       Returns true if `tail' was a  relative  path  and  so  concatenated  to
24       `path', otherwise returns false.
25

SEE ALSO

27       al_rebase_path(3)
28
29
30
31Allegro reference manual                                      al_join_paths(3)
Impressum