master
 1/**
 2 * This file has no copyright assigned and is placed in the Public Domain.
 3 * This file is part of the mingw-w64 runtime package.
 4 * No warranty is given; refer to the file DISCLAIMER.PD within this package.
 5 */
 6
 7#include <wchar.h>
 8
 9wchar_t *__cdecl _wcstok(wchar_t *restrict str, const wchar_t *restrict delim)
10{
11  /* NULL as a third param can be specified only for UCRT version of wcstok() */
12  return wcstok(str, delim, NULL);
13}
14wchar_t *(__cdecl *__MINGW_IMP_SYMBOL(_wcstok))(wchar_t *restrict, const wchar_t *restrict) = _wcstok;