ReactOS
0.4.16-dev-1093-g93e9710
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.cpp
Go to the documentation of this file.
1
//
2
// strtok.cpp
3
//
4
// Copyright (c) Microsoft Corporation. All rights reserved.
5
//
6
// Defines strtok(), which tokenizes a string via repeated calls.
7
//
8
// strtok() considers the string to consist of a sequence of zero or more text
9
// tokens separated by spans of one or more control characters. The first call,
10
// with a string specified, returns a pointer to the first character of the
11
// first token, and will write a null character into the string immediately
12
// following the returned token. Subsequent calls with a null string argument
13
// will work through the string until no tokens remain. The control string
14
// may be different from call to call. When no tokens remain in the string, a
15
// null pointer is returned.
16
//
17
#include <
corecrt_internal.h
>
18
#include <string.h>
19
20
21
22
extern
"C"
char
*
__cdecl
__acrt_strtok_s_novalidation
(
23
_Inout_opt_z_
char
*
string
,
24
_In_z_
char
const
*
control
,
25
_Inout_
_Deref_prepost_opt_z_
char
**
context
26
);
27
28
29
30
extern
"C"
char
*
__cdecl
strtok
(
char
*
const
string
,
char
const
*
const
control
)
31
{
32
return
__acrt_strtok_s_novalidation
(
string
,
control
, &
__acrt_getptd
()->_strtok_token);
33
}
__cdecl
#define __cdecl
Definition:
accygwin.h:79
corecrt_internal.h
__acrt_getptd
__acrt_ptd *__cdecl __acrt_getptd(void)
Definition:
per_thread_data.cpp:298
_Deref_prepost_opt_z_
#define _Deref_prepost_opt_z_
Definition:
ms_sal.h:1424
_Inout_
#define _Inout_
Definition:
no_sal2.h:162
_In_z_
#define _In_z_
Definition:
no_sal2.h:164
_Inout_opt_z_
#define _Inout_opt_z_
Definition:
no_sal2.h:220
__acrt_strtok_s_novalidation
char *__cdecl __acrt_strtok_s_novalidation(_Inout_opt_z_ char *string, _In_z_ char const *control, _Inout_ _Deref_prepost_opt_z_ char **context)
Definition:
strtok_s.cpp:16
strtok
char *__cdecl strtok(char *const string, char const *const control)
Definition:
strtok.cpp:30
context
Definition:
http.c:7252
control
Definition:
dialog.c:52
sdk
lib
ucrt
string
strtok.cpp
Generated on Mon May 5 2025 06:15:00 for ReactOS by
1.9.6