wcslen

Computes the length of a wide-character string.

Library:LibC
Classification:ANSI
Service:Characters and Strings

Syntax

  #include <wchar.h> 
   
  size_t   wcslen (
     const wchar_t   *ws);
  

Parameters

ws

(IN) Points to the wide-character string whose length is to be computed.

Return Values

Returns the number of wide characters that precede the null-terminating character.