Subversion Repositories Kolibri OS

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
4973 right-hear 1
/* Copyright (C) 1995 DJ Delorie, see COPYING.DJ for details */
2
#include 
3
#include 
4
 
5
int
6
stricmp(const char *s1, const char *s2)
7
{
8
  while (tolower(*s1) == tolower(*s2))
9
  {
10
    if (*s1 == 0)
11
      return 0;
12
    s1++;
13
    s2++;
14
  }
15
  return (int)tolower(*s1) - (int)tolower(*s2);
16
}