ReactOS 0.4.16-dev-300-g2aadf2e
mbscmp.c File Reference
#include <mbstring.h>
#include <string.h>
#include <precomp.h>
Include dependency graph for mbscmp.c:

Go to the source code of this file.

Functions

int _mbscmp (const unsigned char *str1, const unsigned char *str2)
 

Function Documentation

◆ _mbscmp()

int _mbscmp ( const unsigned char str1,
const unsigned char str2 
)

Definition at line 8 of file mbscmp.c.

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
#define MSVCRT_CHECK_PMT(x)
Definition: mbstowcs_s.c:26
#define _NLSCMPERROR
Definition: string.h:19