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

NAME

6       al_get_path_component
7

SYNOPSIS

9              #include <allegro5/allegro.h>
10
11              const char *al_get_path_component(const ALLEGRO_PATH *path, int i)
12

DESCRIPTION

14       Return  the i'th directory component of a path, counting from zero.  If
15       the index is negative then count from the right, i.e. –1 refers to  the
16       last  path  component.  It is an error to pass an index which is out of
17       bounds.
18

SEE ALSO

20       al_get_path_num_components(3), al_get_path_tail(3)
21
22
23
24Allegro reference manual                              al_get_path_component(3)
Impressum