2000-02-18 03:38:33 +08:00
|
|
|
/*
|
2003-05-15 08:21:12 +08:00
|
|
|
* strncasecmp.c
|
2000-02-18 03:38:33 +08:00
|
|
|
*
|
|
|
|
* Oldnames from ANSI header string.h
|
|
|
|
*
|
|
|
|
* Some wrapper functions for those old name functions whose appropriate
|
|
|
|
* equivalents are not simply underscore prefixed.
|
|
|
|
*
|
|
|
|
* Contributors:
|
|
|
|
* Created by Colin Peters <colin@bird.fu.is.saga-u.ac.jp>
|
|
|
|
*
|
|
|
|
* THIS SOFTWARE IS NOT COPYRIGHTED
|
|
|
|
*
|
|
|
|
* This source code is offered for use in the public domain. You may
|
|
|
|
* use, modify or distribute it freely.
|
|
|
|
*
|
|
|
|
* This code is distributed in the hope that it will be useful but
|
|
|
|
* WITHOUT ANY WARRANTY. ALL WARRENTIES, EXPRESS OR IMPLIED ARE HEREBY
|
|
|
|
* DISCLAMED. This includes but is not limited to warrenties of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
|
|
|
*
|
|
|
|
* $Revision$
|
|
|
|
* $Author$
|
|
|
|
* $Date$
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include <string.h>
|
|
|
|
|
|
|
|
int
|
|
|
|
strncasecmp (const char *sz1, const char *sz2, size_t sizeMaxCompare)
|
|
|
|
{
|
|
|
|
return _strnicmp (sz1, sz2, sizeMaxCompare);
|
|
|
|
}
|
|
|
|
|