summaryrefslogtreecommitdiff
path: root/lib/fontconfig/doc/FcStrCopyFilename.3
blob: ab6de417bc2fef23914e65599eaa59ab421b5cda (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
.\\" auto-generated by docbook2man-spec $Revision: 1.3 $
.TH "FcStrCopyFilename" "3" "18 November 2009" "" ""
.SH NAME
FcStrCopyFilename \- create a complete path from a filename
.SH SYNOPSIS
.nf
\fB#include <fontconfig.h>
.sp
FcChar8 * FcStrCopyFilename(const FcChar8 *\fIs\fB);
\fR.fi
.SH "DESCRIPTION"
.PP
\fBFcStrCopyFilename\fR constructs an absolute pathname from
\fIs\fR\&. 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 character and HOME is unset or disabled
(see \fBFcConfigEnableHome\fR).
.SH "VERSION"
.PP
Fontconfig version 2.8.0