xenocara/dist/fontconfig/doc/FcUtf16ToUcs4.3
2017-08-19 10:11:04 +00:00

18 lines
606 B
Groff

.\" auto-generated by docbook2man-spec from docbook-utils package
.TH "FcUtf16ToUcs4" "3" "05 7月 2017" "Fontconfig 2.12.4" ""
.SH NAME
FcUtf16ToUcs4 \- convert UTF-16 to UCS4
.SH SYNOPSIS
.nf
\fB#include <fontconfig/fontconfig.h>
.sp
int FcUtf16ToUcs4 (FcChar8 *\fIsrc\fB, FcEndian \fIendian\fB, FcChar32 *\fIdst\fB, int \fIlen\fB);
.fi\fR
.SH "DESCRIPTION"
.PP
Converts the next Unicode char from \fIsrc\fR into
\fIdst\fR and returns the number of bytes containing the
char. \fIsrc\fR must be at least \fIlen\fR
bytes long. Bytes of \fIsrc\fR are combined into 16-bit
units according to \fIendian\fR\&.