[Discuss] 'C' string tokenizer for those who hate strtok

p.willis at telus.net p.willis at telus.net
Thu Jun 29 09:48:24 PDT 2006


Quoting Paul Nienaber <phox at phox.ca>:

> Buffer from nowhere?  POSIX has mandated strtok_r() for like... ever. 
> strtok() _is_ stupid.  It's also about one more line to use strchr() or
> one can use BSD strsep(), or whatever...
> 
> ~p


Paul,

It's fluff. It's a learning excercise for 'C' linked lists for beginners.

It's entertainment...or would you rather read about partitioning hard drives
200 more times.

Peter





More information about the Discuss mailing list