.\" Automatically generated by Pandoc 3.1.3 .\" .\" Define V font for inline verbatim, using C font in formats .\" that render this, and otherwise B font. .ie "\f[CB]x\f[]"x" \{\ . ftr V B . ftr VI BI . ftr VB B . ftr VBI BI .\} .el \{\ . ftr V CR . ftr VI CI . ftr VB CB . ftr VBI CBI .\} .TH "al_get_path_basename" "3alleg5" "" "Allegro reference manual" "" .hy .SH NAME .PP al_get_path_basename - Allegro 5 API .SH SYNOPSIS .IP .nf \f[C] #include const char *al_get_path_basename(const ALLEGRO_PATH *path) \f[R] .fi .SH DESCRIPTION .PP Return the basename, i.e.\ filename with the extension removed. If the filename doesn\[cq]t have an extension, the whole filename is the basename. If there is no filename part then the empty string is returned. .PP The returned pointer is valid only until the filename part of the path is modified in any way, or until the path is destroyed. .SH SEE ALSO .PP al_get_path_filename(3alleg5), al_get_path_extension(3alleg5)