ReactOS 0.4.15-dev-7931-gfd331f1
mbsdec.c
Go to the documentation of this file.
1#include <precomp.h>
2#include <mbstring.h>
3
4/*
5 * @implemented
6 */
7unsigned char * _mbsdec(const unsigned char *str, const unsigned char *cur)
8{
9 unsigned char *s = (unsigned char *)cur;
10 if ( str >= cur )
11 return NULL;
12
13 s--;
14 if (_ismbblead(*(s-1)) )
15 s--;
16
17 return s;
18}
#define NULL
Definition: types.h:112
FxCollectionEntry * cur
GLdouble s
Definition: gl.h:2039
unsigned char * _mbsdec(const unsigned char *str, const unsigned char *cur)
Definition: mbsdec.c:7
int __cdecl _ismbblead(unsigned int)
Definition: ismblead.c:20
const WCHAR * str