manpagez: man pages & more
man FcStrCopyFilename(3)
Home | html | info | man
FcStrCopyFilename(3)                                      FcStrCopyFilename(3)




NAME

       FcStrCopyFilename - create a complete path from a filename


SYNOPSIS

       #include <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  con-
       verted  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).


VERSION

       Fontconfig version 2.9.0



                                  11 3ae 2012             FcStrCopyFilename(3)

fontconfig 2.9.0 - Generated Mon Apr 2 19:49:52 CDT 2012
© manpagez.com 2000-2025
Individual documents may contain additional copyright information.