1al_set_path_extension(3)   Library Functions Manual   al_set_path_extension(3)
2
3
4

NAME

6       al_set_path_extension
7

SYNOPSIS

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

DESCRIPTION

14       Replaces  the  extension  of the path with the given one, i.e. replaces
15       everything from the final dot ('.') character  onwards,  including  the
16       dot.   If  the  filename of the path has no extension, the given one is
17       appended.  Usually the new extension you supply should include a  lead‐
18       ing dot.
19
20       Returns  false if the path contains no filename part, i.e. the filename
21       part is the empty string.
22

SEE ALSO

24       al_set_path_filename(3), al_get_path_extension(3)
25
26
27
28Allegro reference manual                              al_set_path_extension(3)
Impressum