Lstrlen

Computes the length of a string.

Library:LibC
Classification:Other
Service:Characters and Strings

Syntax

  #include <string.h> 
   
  size_t Lstrlen (
     const char   *s);
  

Parameters

s

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

Return Values

Returns the number of characters that precede the terminating NULL character. The number of characters in the string might not be the same as the number of bytes it occupies.

Remarks

The Lstrlen function is a double-byte character interface.