Hacker News new | ask | show | jobs
by Animats 4211 days ago
strtok() is even worse. (Because it has global state)

There are a lot of C standard library functions from the 1970s that should have been moved to a "deprecated" library around 1990 or so and phased out by now.

1 comments

Throw zero-terminated strings away too, please. Scanning sequential bytes is very slow and has caused so many bugs.