Guardian Native C Library Calls Reference Manual (G06.29+, H06.08+, J06.03+)
wcstok(3) Guardian Native C Library Calls Reference Manual
!= 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).
7−164 Hewlett-Packard Company 527192-018