DOKK / manpages / debian 10 / libfontconfig1-dev / FcStrBasename.3.en
FcStrBasename(3) FcStrBasename(3)

FcStrBasename - last component of filename

#include <fontconfig/fontconfig.h>

FcChar8 * FcStrBasename (const FcChar8 *file);

Returns the filename of file stripped of any leading directory names. This is returned in newly allocated storage which should be freed when no longer needed.

05 November 2018 Fontconfig 2.13.1