ReactOS 0.4.15-dev-8131-g4988de4
mbscmp.c
Go to the documentation of this file.
1#include <mbstring.h>
2#include <string.h>
3#include <precomp.h>
4
5/*
6 * @implemented
7 */
8int _mbscmp(const unsigned char *str1, const unsigned char *str2)
9{
10 if (!MSVCRT_CHECK_PMT(str1 && str2))
11 return _NLSCMPERROR;
12
13 return strcmp((const char*)str1, (char*)str2);
14}
int strcmp(const char *String1, const char *String2)
Definition: utclib.c:469
int _mbscmp(const unsigned char *str1, const unsigned char *str2)
Definition: mbscmp.c:8
#define MSVCRT_CHECK_PMT(x)
Definition: mbstowcs_s.c:26
#define _NLSCMPERROR
Definition: string.h:17