News for hackers. Stuff that matters.
Re:String tokenization in C by yason on Sunday December 16, 2018 @06:49AM (#18692717)
Unless you're using a pre-specified configuration file format (e.g. TOML), then parsing configuration files requires a general parsing library.

If you have needs that require a general parsing library then why are you criticizing strtok()? It doesn't parse XML either, not C source code, nor any unspecified configuration file formats.

Re:String tokenization in C by nly on Monday December 17, 2018 @03:42AM (#18697682)
My point is that strtok has almost no reasonable uses in real programs.