ReactOS 0.4.16-dev-300-g2aadf2e
mbsnextc.c
Go to the documentation of this file.
1/*
2 * COPYRIGHT: See COPYING in the top level directory
3 * PROJECT: ReactOS system libraries
4 * FILE: lib/sdk/crt/mbstring/mbsnextc.c
5 * PURPOSE: Finds the next character in a string
6 * PROGRAMERS:
7* Copyright 1999 Alexandre Julliard
8 * Copyright 2000 Jon Griffths
9 *
10 */
11
12#include <precomp.h>
13#include <mbstring.h>
14
15/*
16 * @implemented
17 */
18unsigned int _mbsnextc (const unsigned char *str)
19{
20 if(_ismbblead(*str))
21 return *str << 8 | str[1];
22 return *str;
23}
unsigned int _mbsnextc(const unsigned char *str)
Definition: mbsnextc.c:18
int __cdecl _ismbblead(unsigned int)
Definition: ismblead.c:20
const WCHAR * str