mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-14 15:56:13 +03:00
19 lines
644 B
Groff
Vendored
19 lines
644 B
Groff
Vendored
.\" auto-generated by docbook2man-spec from docbook-utils package
|
|
.TH "FcUtf8Len" "3" "31 3月 2022" "Fontconfig 2.14.0" ""
|
|
.SH NAME
|
|
FcUtf8Len \- count UTF-8 encoded chars
|
|
.SH SYNOPSIS
|
|
.nf
|
|
\fB#include <fontconfig/fontconfig.h>
|
|
.sp
|
|
FcBool FcUtf8Len (FcChar8 *\fIsrc\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\&. 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.
|