...
lib_str.h/lib_str.c
Prototype
Code Block | ||
---|---|---|
| ||
CPU_CHAR *Str_Str_N (const CPU_CHAR *pstr,
const CPU_CHAR *pstr_srch,
CPU_SIZE_T len_max); |
Arguments
pstr
Pointer to the string to search for the specified string.
...
String search terminates if string pointer points to or overlaps the NULL
address.
Example Usage
Code Block | ||
---|---|---|
| ||
CPU_CHAR *pstr;
pstr = Str_Str_N("Hello World!", "lo", 10u); |