Open System Services Library Calls Reference Manual (G06.29+, H06.08+, J06.03+)
OSS Library Calls (w - z) wcstok(3)
!= NULL) {
/* pwcs points to the first token */
printf("Token 1 is %S\n", pwcs);
counter = 2;
while ((pwcs = wcstok((wchar_t * )NULL, delimiters ))
!= NULL) {
printf("Token %d is %S\n", counter, pwcs);
counter++;
}
}
}
}
}
RETURN VALUES
Upon successful completion, the wcstok( ) function returns a pointer to the first wide character of
a token. A null pointer is returned if there is no token.
RELATED INFORMATION
Functions: strtok(3), wcspbrk(3), wcsspn(3), wcstod(3), wcstol(3), wcstoul(3).
527187-017 Hewlett-Packard Company 8−35