Imported Upstream version 2.13.0
[platform/upstream/fontconfig.git] / doc / FcStrCopy.3
1 .\" auto-generated by docbook2man-spec from docbook-utils package
2 .TH "FcStrCopy" "3" "06 3月 2018" "Fontconfig 2.13.0" ""
3 .SH NAME
4 FcStrCopy \- duplicate a string
5 .SH SYNOPSIS
6 .nf
7 \fB#include <fontconfig/fontconfig.h>
8 .sp
9 FcChar8 * FcStrCopy (const FcChar8 *\fIs\fB);
10 .fi\fR
11 .SH "DESCRIPTION"
12 .PP
13 Allocates memory, copies \fIs\fR and returns the resulting
14 buffer. Yes, this is \fBstrdup\fR, but that function isn't
15 available on every platform.