logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

FcStrCopyFilename - create a complete path from a filename

Description

FcStrCopyFilename constructs an absolute pathname from s. It converts any leading '~' characters in to the value of the HOME environment variable, and any relative paths are converted to absolute paths using the current working directory. Sequences of '/' characters are converted to a single '/', and names containing the current directory '.' or parent directory '..' are correctly reconstructed. Returns NULL if '~' is the leading character and HOME is unset or disabled (see FcConfigEnableHome). Fontconfig 2.15.0 04 July 2025 FcStrCopyFilename(3)

Name

FcStrCopyFilename - create a complete path from a filename

Synopsis

#include<fontconfig/fontconfig.h>FcChar8*FcStrCopyFilename(constFcChar8*s);

See Also