Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

How does strtok works?

Name: Anonymous 2009-04-17 16:47

I don't want to dig out the sources but i'd like to know how it implemented in C.

Name: Anonymous 2009-04-17 19:11

Just be aware that strtok in its traditional form uses static variables as >>4 mentioned and is thus non-reentrant. It's actually trivial to implement a reentrant strtok, though it would require you to pass in current state of tokenization on each function call

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List