FcUtf16Len.3 revision a6844aab
1.\\" auto-generated by docbook2man-spec $Revision: 1.1.1.2 $ 2.TH "FcUtf16Len" "3" "18 November 2009" "" "" 3.SH NAME 4FcUtf16Len \- count UTF-16 encoded chars 5.SH SYNOPSIS 6.nf 7\fB#include <fontconfig.h> 8.sp 9FcBool FcUtf16Len(FcChar8 *\fIsrc\fB); 10(FcEndian \fIendian\fB); 11(int \fIlen\fB); 12(int *\fInchar\fB); 13(int *\fIwchar\fB); 14\fR.fi 15.SH "DESCRIPTION" 16.PP 17Counts the number of Unicode chars in \fIlen\fR bytes of 18\fIsrc\fR\&. Bytes of \fIsrc\fR are 19combined into 16-bit units according to \fIendian\fR\&. 20Places that count in \fInchar\fR\&. 21\fIwchar\fR contains 1, 2 or 4 depending on the number of 22bytes needed to hold the largest unicode char counted. The return value 23indicates whether \fIstring\fR is a well-formed UTF16 24string. 25.SH "VERSION" 26.PP 27Fontconfig version 2.8.0 28