Re:What If I Don't Actually Like My Users? (2008)
by wyldfire on Thursday June 02, 2016 @07:51PM
(#11827216)
Don't most implementations at least use TLS for their implementations to preserve a modicum of sanity there?
[ Parent
| on HN ]
Re:What If I Don't Actually Like My Users? (2008)
by JoshTriplett on Thursday June 02, 2016 @09:08PM
(#11827619)
Some of them do, though not all. And that also doesn't fix problems with signals and similar.
But for all of those functions, glibc and some other C libraries provide reentrant variants like "basename_r" and "ptsname_r".