Risk-Aware AI Code Review for Business-Critical Systems
LiveReview LiveReview Explore LiveReview

al_get_path_filename - Allegro 5 API

Description

       Return the filename part of the path, or the empty string if there is none.

       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_filename - Allegro 5 API

See Also

al_get_path_basename(3alleg5), al_get_path_extension(3alleg5), al_get_path_component(3alleg5)

Allegro reference manual                                                           al_get_path_filename(3alleg5)

Synopsis

              #include <allegro5/allegro.h>

              const char *al_get_path_filename(const ALLEGRO_PATH *path)

See Also