Blame doc/FcStrCopyFilename.3
|
Packit |
352660 |
.\" auto-generated by docbook2man-spec from docbook-utils package
|
|
Packit |
352660 |
.TH "FcStrCopyFilename" "3" "30 8月 2018" "Fontconfig 2.13.1" ""
|
|
Packit |
352660 |
.SH NAME
|
|
Packit |
352660 |
FcStrCopyFilename \- create a complete path from a filename
|
|
Packit |
352660 |
.SH SYNOPSIS
|
|
Packit |
352660 |
.nf
|
|
Packit |
352660 |
\fB#include <fontconfig/fontconfig.h>
|
|
Packit |
352660 |
.sp
|
|
Packit |
352660 |
FcChar8 * FcStrCopyFilename (const FcChar8 *\fIs\fB);
|
|
Packit |
352660 |
.fi\fR
|
|
Packit |
352660 |
.SH "DESCRIPTION"
|
|
Packit |
352660 |
.PP
|
|
Packit |
352660 |
\fBFcStrCopyFilename\fR constructs an absolute pathname from
|
|
Packit |
352660 |
\fIs\fR\&. It converts any leading '~' characters in
|
|
Packit |
352660 |
to the value of the HOME environment variable, and any relative paths are
|
|
Packit |
352660 |
converted to absolute paths using the current working directory. Sequences
|
|
Packit |
352660 |
of '/' characters are converted to a single '/', and names containing the
|
|
Packit |
352660 |
current directory '.' or parent directory '..' are correctly reconstructed.
|
|
Packit |
352660 |
Returns NULL if '~' is the leading character and HOME is unset or disabled
|
|
Packit |
352660 |
(see \fBFcConfigEnableHome\fR).
|