Go to main content

man pages section 3: Library Interfaces and Headers

Exit Print View

Updated: Wednesday, July 27, 2022
 
 

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
       Source code for open source software components in Oracle  Solaris  can
       be found at https://www.oracle.com/downloads/opensource/solaris-source-
       code-downloads.html.

       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.14.0.tar.xz.

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



Fontconfig 2.14.0                  31 3 2022              FcStrCopyFilename(3)