Blame src/string/ntapi_tt_strcmp_multibyte.c

c30ed7
/********************************************************/
c30ed7
/*  ntapi: Native API core library                      */
64e606
/*  Copyright (C) 2013--2021  SysDeer Technologies, LLC */
c30ed7
/*  Released under GPLv2 and GPLv3; see COPYING.NTAPI.  */
c30ed7
/********************************************************/
c30ed7
c30ed7
#include <psxtypes/psxtypes.h>
c30ed7
#include <ntapi/nt_string.h>
766a63
#include "ntapi_impl.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
}