Go to main content

man pages section 3: Library Interfaces and Headers

Exit Print View

Updated: Thursday, June 13, 2019
 
 

FcStrCopyFilename (3)

Name

FcStrCopyFilename - create a complete path from a filename

Synopsis

#include <fontconfig/fontconfig.h>

FcChar8 * FcStrCopyFilename (const FcChar8 *s);

Description

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  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).



ATTRIBUTES
       See attributes(7) for descriptions of the following attributes:


       +---------------+---------------------------+
       |ATTRIBUTE TYPE |     ATTRIBUTE VALUE       |
       +---------------+---------------------------+
       |Availability   | system/library/fontconfig |
       +---------------+---------------------------+
       |Stability      | Volatile                  |
       +---------------+---------------------------+
NOTES
       This    software    was    built    from    source     available     at
       https://github.com/oracle/solaris-userland.    The  original  community
       source  was  downloaded  from   https://fontconfig.org/release/fontcon-
       fig-2.12.1.tar.bz2

       Further information about this software can be found on the open source
       community website at https://fontconfig.org/.



Fontconfig 2.12.1                  05 8 2016              FcStrCopyFilename(3)