18 const char *s1 =
"abcd";
19 const char *s2 =
"wxyz";
30 const char *s1 =
"abcd";
42 const char *s1 =
"abcd";
43 const char *s2 =
"ABCD";
51 case_insensitive(
void) {
52 const char *s1 =
"abcd";
53 const char *s2 =
"ABCD";
61 const char *s1 =
"abcd";
62 const char *s2 =
"ABCD";
77 int main(
int argc,
char **argv) {
78 g_test_init(&argc, &argv, NULL);
80 g_test_add_func(
"/common/strings/strcmp/same_pointer", same_pointer);
81 g_test_add_func(
"/common/strings/strcmp/one_is_null", one_is_null);
82 g_test_add_func(
"/common/strings/strcmp/case_matters", case_matters);
83 g_test_add_func(
"/common/strings/strcmp/case_insensitive", case_insensitive);
84 g_test_add_func(
"/common/strings/strcmp/regex", regex);
int main(int argc, char **argv)
int pcmk__strcmp(const char *s1, const char *s2, uint32_t flags)