00001 00007 /* Embedded XINU, Copyright (C) 2007. All rights reserved. */ 00008 00015 int strcmp(const char *s1, const char *s2) 00016 { 00017 00018 while (*s1 == *s2++) 00019 if (*s1++=='\0') 00020 return(0); 00021 return(*s1 - *--s2); 00022 }