5 // An issue here is that in glibc memcmp() and bcmp() are aliases. Valgrind
6 // chooses the shorter name -- bcmp -- and reports that in the error
7 // message, even though memcmp() was called. This is hard to avoid.
11 s1
= malloc(10); strcpy(s1
,"fooble");
12 s2
= malloc(10); strcpy(s2
,"fooble");
13 if (memcmp(s1
, s2
, 8) != 0)
14 printf("different\n");
16 printf("same (?!)\n");