ReactOS
0.4.16-dev-300-g2aadf2e
Toggle main menu visibility
Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
Functions
_
a
b
c
d
e
f
g
h
i
l
m
o
p
r
s
t
u
v
w
Variables
_
c
d
e
f
g
h
i
l
n
o
p
s
t
u
x
Typedefs
_
a
b
c
d
e
f
g
h
i
l
m
o
p
r
s
t
u
v
w
x
Enumerations
_
c
d
f
i
l
m
o
p
s
t
w
x
Enumerator
a
b
c
d
e
f
g
h
i
m
n
o
p
r
s
t
u
v
w
x
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
_
a
b
c
d
e
f
h
i
k
l
m
n
o
p
r
s
t
u
v
w
z
Enumerator
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Properties
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Related Functions
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
v
x
Files
File List
File Members
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerator
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Examples
mbsrchr.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/mbsrchr.c
5
* PURPOSE: Searches for a character in reverse
6
* PROGRAMER: Ariadne
7
* UPDATE HISTORY:
8
* 12/04/99: Created
9
*/
10
#include <stdlib.h>
11
#include <mbstring.h>
12
13
/*
14
* @implemented
15
*/
16
unsigned
char
*
_mbsrchr
(
const
unsigned
char
*
src
,
unsigned
int
val
)
17
{
18
unsigned
int
c
;
19
unsigned
char
*
match
=
NULL
;
20
21
if
(!
src
)
22
return
NULL
;
23
24
while
(1)
25
{
26
c
=
_mbsnextc
(
src
);
27
if
(
c
==
val
)
28
match
= (
unsigned
char
*)
src
;
29
if
(!
c
)
30
return
match
;
31
src
+= (
c
> 255) ? 2 : 1;
32
}
33
}
NULL
#define NULL
Definition:
types.h:112
src
GLenum src
Definition:
glext.h:6340
c
const GLubyte * c
Definition:
glext.h:8905
val
GLuint GLfloat * val
Definition:
glext.h:7180
_mbsnextc
_Check_return_ _CRTIMP unsigned int __cdecl _mbsnextc(_In_z_ const unsigned char *_Str)
c
#define c
Definition:
ke_i.h:80
_mbsrchr
unsigned char * _mbsrchr(const unsigned char *src, unsigned int val)
Definition:
mbsrchr.c:16
match
Definition:
match.c:28
sdk
lib
crt
mbstring
mbsrchr.c
Generated on Thu Nov 28 2024 06:13:23 for ReactOS by
1.9.6