ROOT
Preview
Reference Guide
strtok.h
Go to the documentation of this file.
1
#ifndef ROOT_strtok
2
#define ROOT_strtok
3
4
#include <
ROOT/RConfig.hxx
>
5
6
#include <cstring>
7
8
// On Windows strtok_r does not exist: the function is called strtok_s.
9
inline
char
*
R__STRTOK_R
(
char
*str,
const
char
*delim,
char
**saveptr)
10
{
11
#if defined(R__WIN32)
12
return
strtok_s(str, delim, saveptr);
13
#else
14
return
strtok_r(str, delim, saveptr);
15
#endif
16
}
17
18
#endif
RConfig.hxx
R__STRTOK_R
char * R__STRTOK_R(char *str, const char *delim, char **saveptr)
Definition
strtok.h:9
core
clib
inc
strtok.h
Generated on
for ROOT by
1.16.1