3 ms·
strtok is a trivial and not particularly good function, in part due to its poor API. You can write a better one in minutes (which is incidentally less than the
by mgaunard 4y ago
strtok is a trivial and not particularly good function, in part due to its poor API. You can write a better one in minutes (which is incidentally less than the time to understand the corner cases of this function's behaviour)