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

NAME

6       al_get_path_basename
7

SYNOPSIS

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

DESCRIPTION

14       Return  the basename, i.e. filename with the extension removed.  If the
15       filename doesn't have an extension, the whole filename is the basename.
16       If there is no filename part then the empty string is returned.
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

SEE ALSO

22       al_get_path_filename(3), al_get_path_extension(3)
23
24
25
26Allegro reference manual                               al_get_path_basename(3)
Impressum