Previous: Searching for a substring in a NUL terminated Unicode string, Up: Elementary string functions on NUL terminated strings [Contents][Index]
The following function does one step in tokenizing a Unicode string.
uint8_t * u8_strtok (uint8_t *str, const uint8_t *delim, uint8_t **ptr) ¶ uint16_t * u16_strtok (uint16_t *str, const uint16_t *delim, uint16_t **ptr) ¶ uint32_t * u32_strtok (uint32_t *str, const uint32_t *delim, uint32_t **ptr) ¶ Divides str into tokens separated by characters in delim.
This function is similar to strtok_r and wcstok, except
that it operates on Unicode strings. Its interface is actually more similar to
wcstok than to strtok.