.\" This manpage has been automatically generated by docbook2man .\" from a DocBook document. This tool can be found at: .\" .\" Please send any bug reports, improvements, comments, patches, .\" etc. to Steve Cheng . .TH "FcStrBasename" "3" "2022/03/31" "Fontconfig 2.14.0" "" .SH NAME FcStrBasename \- last component of filename .SH SYNOPSIS .sp \fB#include .sp FcChar8 * FcStrBasename (const FcChar8 *\fIfile\fB); \fR .SH "DESCRIPTION" .PP Returns the filename of \fIfile\fR stripped of any leading directory names. This is returned in newly allocated storage which should be freed when no longer needed.