1al_get_path_extension(3) al_get_path_extension(3)
2
3
4
6 al_get_path_extension - Allegro 5 API
7
9 #include <allegro5/allegro.h>
10
11 const char *al_get_path_extension(const ALLEGRO_PATH *path)
12
14 Return a pointer to the start of the extension of the filename, i.e.
15 everything from the final dot ('.') character onwards. If no dot ex‐
16 ists, returns an empty string.
17
18 The returned pointer is valid only until the filename part of the path
19 is modified in any way, or until the path is destroyed.
20
22 al_get_path_filename(3), al_get_path_basename(3)
23
24
25
26Allegro reference manual al_get_path_extension(3)