Blame src/string/ntapi_tt_strcmp_multibyte.c

c30ed7
/********************************************************/
c30ed7
/*  ntapi: Native API core library                      */
dde53a
/*  Copyright (C) 2013--2017  Z. Gilboa                 */
c30ed7
/*  Released under GPLv2 and GPLv3; see COPYING.NTAPI.  */
c30ed7
/********************************************************/
c30ed7
c30ed7
#include <psxtypes/psxtypes.h>
c30ed7
#include <ntapi/nt_string.h>
c30ed7
c30ed7
int __cdecl __ntapi_tt_strcmp_multibyte(
c30ed7
	__in	const char *	a,
c30ed7
	__in	const char *	b)
c30ed7
{
c30ed7
	for (; (*a == *b) && *a; a++, b++)
c30ed7
		(void)0;
c30ed7
c30ed7
	return (int)*a - (int)*b;
c30ed7
}