lib: charset: correct utf8_utf16_strnlen() description
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Wed, 8 May 2019 17:34:48 +0000 (19:34 +0200)
committerHeinrich Schuchardt <xypron.glpk@gmx.de>
Sun, 12 May 2019 18:54:21 +0000 (20:54 +0200)
commit8a4c443c00432a242bf601e4a1a193a69cd060c7
treed7a39e28eb3ed4442eda0b59b190452c4ad1aa1f
parent82da478b8f8ed41ed8bdbd0269da36ef6aaef7e8
lib: charset: correct utf8_utf16_strnlen() description

Correct the description of utf8_utf16_strnlen() and utf8_utf16_strlen() to
reflect that they return u16 count and not byte count.

For these functions and utf16_utf8_strnlen() describe the handling of
invalid code sequences.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
include/charset.h