unisize

Computes the number of bytes in a Unicode string, including the 2-byte null terminator.

Library:LibC
Service:Characters and Strings

Syntax

  #include <unilib.h> 
   
  size_t unisize (
     const unicode_t   *string);
  

Parameters

string

(IN) Points to a string.

Return Values

Returns the number of bytes in the Unicode string.

See Also