2008-12-18 21:17:22 +00:00
|
|
|
/*
|
|
|
|
* COPYRIGHT: See COPYING in the top level directory
|
|
|
|
* PROJECT: ReactOS system libraries
|
|
|
|
* FILE: lib/sdk/crt/mbstring/mbsnextc.c
|
|
|
|
* PURPOSE: Finds the next character in a string
|
|
|
|
* PROGRAMERS:
|
|
|
|
* Copyright 1999 Alexandre Julliard
|
|
|
|
* Copyright 2000 Jon Griffths
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
2008-06-06 17:49:24 +00:00
|
|
|
#include <precomp.h>
|
2007-03-14 20:24:57 +00:00
|
|
|
#include <mbstring.h>
|
|
|
|
|
|
|
|
/*
|
|
|
|
* @implemented
|
|
|
|
*/
|
2008-12-18 21:17:22 +00:00
|
|
|
unsigned int _mbsnextc (const unsigned char *str)
|
2007-03-14 20:24:57 +00:00
|
|
|
{
|
2008-12-18 21:17:22 +00:00
|
|
|
if(_ismbblead(*str))
|
|
|
|
return *str << 8 | str[1];
|
|
|
|
return *str;
|
2007-03-14 20:24:57 +00:00
|
|
|
}
|