1FcStrCopyFilename(3)                                      FcStrCopyFilename(3)
2
3
4

NAME

6       FcStrCopyFilename - create a complete path from a filename
7

SYNOPSIS

9       #include <fontconfig/fontconfig.h>
10
11       FcChar8 * FcStrCopyFilename (const FcChar8 *s);
12

DESCRIPTION

14       FcStrCopyFilename  constructs  an absolute pathname from s. It converts
15       any leading '~' characters in to the  value  of  the  HOME  environment
16       variable,  and any relative paths are converted to absolute paths using
17       the current working directory. Sequences of  '/'  characters  are  con‐
18       verted  to a single '/', and names containing the current directory '.'
19       or parent directory '..' are correctly reconstructed.  Returns NULL  if
20       '~'  is  the  leading  character  and  HOME  is  unset or disabled (see
21       FcConfigEnableHome).
22
23
24
25Fontconfig 2.13.0                 06 3月 2018             FcStrCopyFilename(3)
Impressum