[ First ] [ Previous ] [ Next ] [ Last ] [ Manuals ]
wcstok

Extract tokens within a wide character array.
Compatibility:
This function is compatible with the following targets:
Prototype:
#include <wchar.h>
wchar_t * wcstok(wchar_t * str,
  const wchar_t * set, wchar_t ** ptr););
Parameters:
Parameters for this function are:
Remarks:
Performs the same task as strtok for a wide character type however, it makes use of a third argument to contain sufficient information to continue the tokenization process.
When first called, the first argument is non-null. wcstok() returns a pointer to the first token in str or returns a null pointer if no token can be found.
Subsequent calls to wcstok() with a NULL str argument causes wcstok() to return a pointer to the next token or return a null pointer (NULL) when no more tokens exist. When called with a NULL str argument, the value of the ptr argument must have been set by a previous call to wcstok().
Return:
The wcstok function returns a pointer to the first wide character of a token, or a null pointer if there is no token.
See Also:
"strtok"
[ First ] [ Previous ] [ Next ] [ Last ] [ Manuals ]
Visit the Metrowerks website at: http://www.metrowerks.com
For assistance contact Metrowerks Technical Support at: cw_support@metrowerks.com
Copyright © 2000, Metrowerks Corp. All rights reserved.
Last updated: August 16, 2000