Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

utility.cpp

Go to the documentation of this file.
00001 #include <ctype.h>
00002 #include "utility.hpp"
00003 
00004 
00006 
00007 int strcmp_case(const char* a, const char* b)
00008 {
00009   while (*a && *b) {
00010 
00011     char c = tolower(*a++);
00012     char d = tolower(*b++);
00013 
00014     if (c != d) {
00015       return c - d;
00016     }
00017   }
00018   
00019   char c = tolower(*a);
00020   char d = tolower(*b);
00021   return (c - d);
00022 }
00023 

Generated at Mon Jun 10 02:55:13 2002 for audiere by doxygen1.2.8.1 written by Dimitri van Heesch, © 1997-2001