Files
2010-07-27 16:58:17 +00:00

24 lines
275 B
C

#include <string.h>
#include <proto/utility.h>
#include "stabs.h"
char *stristr(const char *a,const char *b)
{
if(a&&b)
{
int l = strlen(b);
while( *a )
{
if(!Strnicmp(a, b, l))
return((char *)a);
a++;
}
}
return NULL;
}
ALIAS(strcasestr,stristr);