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_CHAR  *Str_Char (const  CPU_CHAR  *pstr,
                                      CPU_CHAR   srch_char);


Arguments

pstr

Pointer to the string to search for the specified character.

...

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

Example Usage

Code Block
languagecpp
          CPU_CHAR  *pstr;


          pstr = Str_Char("Hello World!", 'l');