utf8next

Accepts a UTF-8 string and returns the address of the next character.

Library:LibC
Service:Characters and Strings

Syntax

  #include <utf8.h>
   
  utf8_t *utf8next (
     const utf8_t  *string);
  

Parameters

string

(IN) Points to the string to start with.

Return Values

Returns the address of the character next in the specified string.

Remarks

From the character pointed to by the string parameter, utf8next returns the address of the first byte of the subsequent character, if there is one. The returned address might point beyond the end of the string, especially if the string was badly formed.

See Also

utf8prev