mirror of
https://github.com/vivier/EMILE.git
synced 2024-09-08 04:54:25 +00:00
19 lines
231 B
C
19 lines
231 B
C
/*
|
|
*
|
|
* (c) 2004,2005 Laurent Vivier <LaurentVivier@wanadoo.fr>
|
|
*
|
|
*/
|
|
|
|
#include <string.h>
|
|
|
|
int strcmp(const char *__s1, const char *__s2)
|
|
{
|
|
while (*__s1 && *__s1 == *__s2)
|
|
{
|
|
__s1++;
|
|
__s2++;
|
|
}
|
|
|
|
return (*__s1 - *__s2);;
|
|
}
|