Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

lib_str.h/lib_str.c

Prototype

Code Block
languagecpp
          CPU_SIZE_T  Str_Len (const  CPU_CHAR  *pstr);


Arguments

pstr

Pointer to the string.

...

String length calculation terminates if string pointer points to or overlaps the NULL address.

Example Usage

Code Block
languagecpp

          CPU_SIZE_T  len;


          len = Str_Len("SomeString");