ReactOS
0.4.16-dev-13-ge2fc578
mbsninc.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/mbsninc.c
5
* PURPOSE:
6
* PROGRAMERS:
7
* Copyright 1999 Alexandre Julliard
8
* Copyright 2000 Jon Griffths
9
*
10
*/
11
12
#include <precomp.h>
13
14
#include <mbstring.h>
15
16
/*
17
* @implemented
18
*/
19
unsigned
char
*
_mbsninc
(
const
unsigned
char
*
str
,
size_t
n
)
20
{
21
if
(!
str
)
22
return
NULL
;
23
24
while
(
n
> 0 && *
str
)
25
{
26
if
(
_ismbblead
(*
str
))
27
{
28
if
(!*(
str
+1))
29
break
;
30
str
++;
31
}
32
str
++;
33
n
--;
34
}
35
36
return
(
unsigned
char
*)
str
;
37
}
NULL
#define NULL
Definition:
types.h:112
n
GLdouble n
Definition:
glext.h:7729
_mbsninc
unsigned char * _mbsninc(const unsigned char *str, size_t n)
Definition:
mbsninc.c:19
_ismbblead
int __cdecl _ismbblead(unsigned int)
Definition:
ismblead.c:20
str
const WCHAR * str
Definition:
rpc_transport.c:2724
sdk
lib
crt
mbstring
mbsninc.c
Generated on Fri Sep 13 2024 06:12:57 for ReactOS by
1.9.6