ReactOS
0.4.16-dev-1025-gd3456f5
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
m
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
_
a
b
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
strtok.c
Go to the documentation of this file.
1
/* Taken from Wine Staging msvcrt/string.c */
2
3
#include <precomp.h>
4
#include <
internal/wine/msvcrt.h
>
5
6
/*********************************************************************
7
* strtok (MSVCRT.@)
8
*/
9
char
*
CDECL
strtok
(
char
*
str
,
const
char
*delim )
10
{
11
thread_data_t
*
data
=
msvcrt_get_thread_data
();
12
char
*
ret
;
13
14
if
(!
str
)
15
if
(!(
str
=
data
->strtok_next))
return
NULL
;
16
17
while
(*
str
&&
strchr
( delim, *
str
))
str
++;
18
if
(!*
str
)
return
NULL
;
19
ret
=
str
++;
20
while
(*
str
&& !
strchr
( delim, *
str
))
str
++;
21
if
(*
str
) *
str
++ = 0;
22
data
->strtok_next =
str
;
23
return
ret
;
24
}
strchr
char * strchr(const char *String, int ch)
Definition:
utclib.c:501
NULL
#define NULL
Definition:
types.h:112
CDECL
#define CDECL
Definition:
compat.h:29
data
GLint GLenum GLsizei GLsizei GLsizei GLint GLsizei const GLvoid * data
Definition:
gl.h:1950
msvcrt_get_thread_data
thread_data_t * msvcrt_get_thread_data(void)
Definition:
tls.c:31
str
const WCHAR * str
Definition:
rpc_transport.c:2724
msvcrt.h
strtok
char *CDECL strtok(char *str, const char *delim)
Definition:
strtok.c:9
thread_data_t
Definition:
mshtml_private.h:1090
ret
int ret
Definition:
wcstombs-tests.c:31
sdk
lib
crt
string
strtok.c
Generated on Tue Apr 22 2025 06:15:20 for ReactOS by
1.9.6