Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
FcStrCopyFilename(3)					    FcStrCopyFilename(3)

NAME
     FcStrCopyFilename - create a complete path from a filename

SYNOPSIS
     #include <fontconfig/fontconfig.h>

     FcChar8 * FcStrCopyFilename (const FcChar8 *s);

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 char-
     acter and HOME is unset or disabled (see FcConfigEnableHome).

Fontconfig 2.17.1		  02 July 2025		    FcStrCopyFilename(3)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=FcStrCopyFilename&sektion=3&manpath=FreeBSD+Ports+15.1.quarterly>

home | help