blob: 2afe4dd2fcc13b4401b33f5d2284a1ac595da09a (
plain) (
tree)
|
|
.\" Automatically generated by Pandoc 2.14.0.2
.\"
.TH "" "" "" "" ""
.hy
.SH NAME
.PP
u8c_u8dec - UTF-8 decode - Convert an UTF-8 string to UTF-32.
.SH DECLARATION
.IP
.nf
\f[C]
# include <stdbool.h>
# include <stddef.h>
# include <uchar.h>
extern bool u8c_u8dec(size_t * const sz,char32_t const * * const out,unsigned char const * const in);
\f[R]
.fi
.SH DESCRIPTION
.PP
The function \f[C]u8c_u8dec\f[R] converts the given UTF-8 string
(\f[I]in\f[R]) to UTF-32 (\f[I]out\f[R]).
.PP
The size of the output string (excluding the null-terminator) is placed
into \f[I]sz\f[R], if [\f[I]sz\f[R]] is not equal to \f[I]NULL\f[R].
.SH VERSION
.PP
u8c 0
|