Blame src/string/ntapi_tt_strcmp_utf16.c

060ead
/********************************************************/
060ead
/*  ntapi: Native API core library                      */
64e606
/*  Copyright (C) 2013--2021  SysDeer Technologies, LLC */
060ead
/*  Released under GPLv2 and GPLv3; see COPYING.NTAPI.  */
060ead
/********************************************************/
060ead
060ead
#include <psxtypes/psxtypes.h>
060ead
#include <ntapi/nt_string.h>
766a63
#include "ntapi_impl.h"
060ead
060ead
int __cdecl __ntapi_tt_strcmp_utf16(
060ead
	__in	const wchar16_t * a,
060ead
	__in	const wchar16_t * b)
060ead
{
060ead
	for (; (*a == *b) && *a; a++, b++)
060ead
		(void)0;
060ead
060ead
	return (int)*a - (int)*b;
060ead
}