ReactOS 0.4.16-dev-927-g467dec4
mbstok.cpp File Reference
#include <corecrt_internal.h>
#include <corecrt_internal_mbstring.h>
#include <locale.h>
#include <stddef.h>
#include <string.h>
Include dependency graph for mbstok.cpp:

Go to the source code of this file.

Functions

unsigned char *__cdecl _mbstok_l (unsigned char *const string, unsigned char const *const sepset, _locale_t const locale)
 
unsigned char *__cdecl _mbstok (unsigned char *string, const unsigned char *sepset)
 

Function Documentation

◆ _mbstok()

unsigned char *__cdecl _mbstok ( unsigned char string,
const unsigned char sepset 
)

Definition at line 57 of file mbstok.cpp.

61{
62 /* We call the deprecated _mbstok_l (and not _mbstok_s_l) so that we keep one
63 * single nextoken in the single thread case, i.e. the nextoken declared as static
64 * inside _mbstok_l
65 */
67 return _mbstok_l(string, sepset, nullptr);
69}
#define _BEGIN_SECURE_CRT_DEPRECATION_DISABLE
#define _END_SECURE_CRT_DEPRECATION_DISABLE
unsigned char *__cdecl _mbstok_l(unsigned char *const string, unsigned char const *const sepset, _locale_t const locale)
Definition: mbstok.cpp:48

◆ _mbstok_l()

unsigned char *__cdecl _mbstok_l ( unsigned char *const  string,
unsigned char const *const  sepset,
_locale_t const  locale 
)

Definition at line 48 of file mbstok.cpp.

53{
54 return _mbstok_s_l(string, sepset, &__acrt_getptd()->_mbstok_token, locale);
55}
Definition: _locale.h:75
__acrt_ptd *__cdecl __acrt_getptd(void)
unsigned char *__cdecl _mbstok_s_l(unsigned char *_String, const unsigned char *_Control, unsigned char **_Context, _LOCALE_ARG_DECL)
Definition: mbstok_s.cpp:17

Referenced by _mbstok().