| Current File : //usr/man/man3/FcUtf8Len.3 |
'\" t
.\\" auto-generated by docbook2man-spec $Revision: 1.2 $
.TH "FcUtf8Len" "3" "18 November 2009" "" ""
.SH NAME
FcUtf8Len \- count UTF-8 encoded chars
.SH SYNOPSIS
.nf
\fBcc\fR [ \fIflag\fR\&.\&.\&. ] \fIfile\fR\&.\&.\&. \fB\-lfontconfig\fR [ \fIlibrary\fR\&.\&.\&. ]
.fi
.sp
.nf
\fBcc\fR [ \fIflag\fR\&.\&.\&. ] `pkg-config --cflags fontconfig` \fIfile\fR\&.\&.\&. `pkg-config --libs fontconfig`
.fi
.nf
\fB#include <fontconfig.h>
.sp
FcBool FcUtf8Len(FcChar8 *\fIsrc\fB);
(int \fIlen\fB);
(int *\fInchar\fB);
(int *\fIwchar\fB);
\fR.fi
.SH "DESCRIPTION"
.PP
Counts the number of Unicode chars in \fIlen\fR bytes of
\fIsrc\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 \fIsrc\fR is a
well-formed UTF8 string.
.SH "VERSION"
.PP
Fontconfig version 2.8.0
.\" Begin Oracle Solaris update
.SH "ATTRIBUTES"
See \fBattributes\fR(5) for descriptions of the following attributes:
.sp
.TS
allbox;
cw(2.750000i)| cw(2.750000i)
lw(2.750000i)| lw(2.750000i).
ATTRIBUTE TYPE ATTRIBUTE VALUE
Availability system/library/fontconfig
Interface Stability Volatile
MT-Level Unknown
.TE
.sp
.\" End Oracle Solaris update