Back to home page

EIC code displayed by LXR

 
 

    


Warning, file /include/root/strtok.h was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).

0001 #ifndef ROOT_strtok
0002 #define ROOT_strtok
0003 
0004 #include <ROOT/RConfig.hxx>
0005 
0006 #include <cstring>
0007 
0008 // On Windows strtok_r does not exist: the function is called strtok_s.
0009 inline char *R__STRTOK_R(char *str, const char *delim, char **saveptr)
0010 {
0011 #if defined(R__WIN32)
0012    return strtok_s(str, delim, saveptr);
0013 #else
0014    return strtok_r(str, delim, saveptr);
0015 #endif
0016 }
0017 
0018 #endif