MicrOS
|
#include "../string.h"
Functions | |
int | compare (const char *X, const char *Y) |
char * | strstr (const char *str1, const char *str2) |
Locate substring. More... | |
int compare | ( | const char * | X, |
const char * | Y | ||
) |
char* strstr | ( | const char * | str1, |
const char * | str2 | ||
) |
Locate substring.
Returns a pointer to the first occurrence of str2 in str1, or a null pointer if str2 is not part of str1.
str1 | C string to be scanned. |
str2 | C string containing the characters to match. |