.\" Automatically generated by Pandoc 3.1.6.2 .\" .\" 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_extension" "3" "" "Allegro reference manual" "" .hy .SH NAME .PP al_get_path_extension - Allegro 5 API .SH SYNOPSIS .IP .nf \f[C] #include const char *al_get_path_extension(const ALLEGRO_PATH *path) \f[R] .fi .SH DESCRIPTION .PP Return a pointer to the start of the extension of the filename, i.e.\ everything from the final dot (`.') character onwards. If no dot exists, returns an empty string. .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(3), al_get_path_basename(3)