logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

al_get_path_basename - Allegro 5 API

Description

       Return  the  basename,  i.e. filename  with  the  extension  removed.   If  the  filename doesn’t have an
       extension, the whole filename is the basename.  If there is no filename part then  the  empty  string  is
       returned.

       The  returned  pointer is valid only until the filename part of the path is modified in any way, or until
       the path is destroyed.

Name

       al_get_path_basename - Allegro 5 API

See Also

al_get_path_filename(3alleg5), al_get_path_extension(3alleg5)

Allegro reference manual                                                           al_get_path_basename(3alleg5)

Synopsis

              #include <allegro5/allegro.h>

              const char *al_get_path_basename(const ALLEGRO_PATH *path)

See Also