[PATCH] string: New thread-safe strtok version

Andreas Schwab schwab@suse.de
Wed Apr 2 09:44:01 GMT 2025


On Apr 02 2025, Florian Weimer wrote:

> Introduce a new symbol version, so that applications can rely
> on the new behavior.

What is the advantage of making strtok thread-safe, considering that
strtok_r exists?  Will other implementations follow so that POSIX can
require it?

-- 
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."


More information about the Libc-alpha mailing list