News for hackers. Stuff that matters.
Re:Tell HN: C Experts Panel – Ask us anything about C by wahern on Tuesday April 14, 2020 @06:02PM (#22872040)
POSIX has added _l variants taking a locale_t argument to all the relevant string functions. I can see how per-thread state would be convenient, but it's not a comprehensive solution. With the _l variants you can write your own wrappers that pass a per-thread locale_t object.

There are no comments on this comment yet.