cielseven's picture
add benchmark corpora, groundtruth, symexec scripts and coverage docs
bff4ec7
Raw History Blame Contribute Delete
154 Bytes
char *memchr(char *s, int c, int n)
{
int i = 0;
while (i < n) {
if (s[i] == c) {
return s + i;
}
i++;
}
return (void *)0;
}