>>353

/* 二つの文字列が等しければ1を異なれば0を返す */

int strequal(const char *s1,const char *s2)
{
for(;*s1==*s2;s1++,s2++)
if(*s1=='\0')
return 1;
return 0;
}