String and character termination

You can use the library with many different application programming interfaces (APIs), which might handle strings in different ways.

To provide flexible support for APIs, the library allows you to indicate how to handle the following items:
  • Character-string termination

    Is the string argument a null-terminated string?

  • Multibyte-character termination

    Is the length of a multibyte character known?