87814ab54ccbea4ce43425fa5136779765475560
[platform/upstream/fontconfig.git] / doc / FcUtf16ToUcs4.3
1 .\" auto-generated by docbook2man-spec from docbook-utils package
2 .TH "FcUtf16ToUcs4" "3" "09 3月 2015" "Fontconfig 2.11.93" ""
3 .SH NAME
4 FcUtf16ToUcs4 \- convert UTF-16 to UCS4
5 .SH SYNOPSIS
6 .nf
7 \fB#include <fontconfig/fontconfig.h>
8 .sp
9 int FcUtf16ToUcs4 (FcChar8 *\fIsrc\fB, FcEndian \fIendian\fB, FcChar32 *\fIdst\fB, int \fIlen\fB);
10 .fi\fR
11 .SH "DESCRIPTION"
12 .PP
13 Converts the next Unicode char from \fIsrc\fR into
14 \fIdst\fR and returns the number of bytes containing the
15 char. \fIsrc\fR must be at least \fIlen\fR
16 bytes long. Bytes of \fIsrc\fR are combined into 16-bit
17 units according to \fIendian\fR\&.