File: FcUtf16Len.3

package info (click to toggle)
fontconfig 2.11.0-6.3%2Bdeb8u1
  • links: PTS
  • area: main
  • in suites: jessie
  • size: 14,316 kB
  • ctags: 2,449
  • sloc: ansic: 28,283; sh: 14,711; makefile: 1,014
file content (23 lines) | stat: -rw-r--r-- 782 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
.\" auto-generated by docbook2man-spec from docbook-utils package
.TH "FcUtf16Len" "3" "11 10月 2013" "" ""
.SH NAME
FcUtf16Len \- count UTF-16 encoded chars
.SH SYNOPSIS
.nf
\fB#include <fontconfig/fontconfig.h>
.sp
FcBool FcUtf16Len (FcChar8 *\fIsrc\fB, FcEndian \fIendian\fB, int \fIlen\fB, int *\fInchar\fB, int *\fIwchar\fB);
.fi\fR
.SH "DESCRIPTION"
.PP
Counts the number of Unicode chars in \fIlen\fR bytes of
\fIsrc\fR\&. Bytes of \fIsrc\fR are
combined into 16-bit units according to \fIendian\fR\&.
Places that count in \fInchar\fR\&.
\fIwchar\fR contains 1, 2 or 4 depending on the number of
bytes needed to hold the largest Unicode char counted. The return value
indicates whether \fIstring\fR is a well-formed UTF16
string.
.SH "VERSION"
.PP
Fontconfig version 2.11.0