#include "str.h" int string_cmp(char *s1,char *s2, int maxlength) { int i=0; while(*s1 && *s2 && (maxlength==0 || i