Versions Compared

Key

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

...

lib_str.h/lib_str.c

Prototype

Code Block
LanguageC++
CaptionTextCAPTION
languagecpp
          CPU_INT16S  Str_Cmp (const  CPU_CHAR  *p1_str,
                               const  CPU_CHAR  *p2_str);

Arguments

p1_str

Pointer to the first string.

...

Since 16-bit signed arithmetic is performed to calculate a non-identical comparison return value, CPU_CHAR native data type size must be 8-bit.

Example Usage

...

LanguageC++
CaptionTextCAPTION
languagecpp

...