3 ms·
Back when these functions were created, it was normal and expected for libc to store global state for a variety of things. Reentrancy wasn't really an issue th
by kelnos 2y ago
Back when these functions were created, it was normal and expected for libc to store global state for a variety of things. Reentrancy wasn't really an issue that was considered then.
(Though this particular API has an even weirder limitation: you can only create a single hash table at a time in your entire program!)