Xiqual 0.7.2

In file xitools/strtokenise.c:

strtoken* str_tokenise

(char* s,
  char* delim)

Create a tokeniser object from a string.

Documentation

Create a tokeniser object from a string. The supplied string is copied, and this copy is modified with NULL bytes in place of its delimiters. This function does a better job than strtok() and strtok_r(). Thread-safe, as long as the passed string doesn't get deallocated before the strdup() in the beginning finishes.
Author:
Ronny Bangsund
See Also:
str_freetoken(), strtoken, strtok(), strtok_r()

Alphabetic index



This page was generated with the help of DOC++.