Unnamed
public text v1 · immutablent my_strcmp(char *s1, char *s2)
{
int i;
i = 0;
while (s1[i] && s2[i])
{
if (s1[i] != s2[i])
return (s1[i] - s2[i]);
i++;
if (!(s1[i]) || !(s2[i]))
return (s1[i] - s2[i]);
}
return (0);
}