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

C, strtok

Name: Anonymous 2010-02-16 13:01

Hello /prog/

Could anyone help me with using the C function strtok and strtok_r?

I've read the man pages and it doesn't provide much help. Try compiling this code example gotten from the man pages:

http://pastebin.com/d11d44ccf

Name: Anonymous 2010-02-16 13:24

I've never used strtok_r, but it seems from the man page that it uses an additional variable to store the state for the next string instead of modifying the original string.

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