sync code with last improvements from OpenBSD
This commit is contained in:
commit
88965415ff
26235 changed files with 29195616 additions and 0 deletions
20
dist/fontconfig/doc/FcStrCopyFilename.3
vendored
Normal file
20
dist/fontconfig/doc/FcStrCopyFilename.3
vendored
Normal file
|
@ -0,0 +1,20 @@
|
|||
.\" auto-generated by docbook2man-spec from docbook-utils package
|
||||
.TH "FcStrCopyFilename" "3" "21 10月 2022" "Fontconfig 2.14.1" ""
|
||||
.SH NAME
|
||||
FcStrCopyFilename \- create a complete path from a filename
|
||||
.SH SYNOPSIS
|
||||
.nf
|
||||
\fB#include <fontconfig/fontconfig.h>
|
||||
.sp
|
||||
FcChar8 * FcStrCopyFilename (const FcChar8 *\fIs\fB);
|
||||
.fi\fR
|
||||
.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).
|
Loading…
Add table
Add a link
Reference in a new issue