bson_utf8_next_char(3)

bson_utf8_next_char3

Usage

const char *
bson_utf8_next_char (const char *utf8);

Parameters

•

utf8: A UTF-8 encoded string.

Overview

Advances within utf8 to the next UTF-8 character, which may be multiple bytes offset from utf8. A pointer to the next character is returned.

It is invalid to call this function on a string whose current character is \0.

Returns

A pointer to the beginning of the next character in the UTF-8 encoded string.

Releases

5 releases since Debian 9 (Stretch); the text changed 4 times.

  1. 9
  2. 10
  3. 11
  4. 12
  5. 13

Author

MongoDB, Inc

From libbson-doc 1.30.4-1+deb13u3 in Debian 13 (Trixie). Parsed by carta from the page's man source.