VMS Help
CC, Run-time functions, wcstok

 *Conan The Librarian (sorry for the slow response - running on an old VAX)

  Locates text tokens in a given wide-character string.  The text
  tokens are delimited by one or more wide characters from a
  specified separator string.  This function keeps track of its
  position in the wide-character string between calls and, as
  successive calls are made, the function works through the
  wide-character string, identifying the text token following the one
  identified by the previous call.

  The ptr argument is used only with the ISO C format.  It is a
  caller-provided w_char pointer into which wcstok stores information
  necessary for it to continue scanning the same wide string.  When
  ws1 is NULL, ptr is used.  When ws1 is not NULL, ptr is ignored.

  Syntax:

       #include <wchar.h>

       wchar_t *wcstok wchar_t *ws1, const wchar_t *ws2);  (XPG4
       Standard)

       wchar_t *wcstok wchar_t *ws1, const wchar_t *ws2, wchar_t
       **ptr); (ISO C Standard)
  Close     HLB-list     TLB-list     Help  

[legal] [privacy] [GNU] [policy] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.