Re: using a thread-local buffer for strerror()

2021-12-18 Thread Stuart Henderson
On 2021-12-18, John Scott wrote: > I don't use OpenBSD, but I've played with it and am interested in making > my code portable to it. A trend which the GNU C Library recently got on > board with is to use a thread-local storage buffer for strerror() which > makes it safe to use across multiple thr

using a thread-local buffer for strerror()

2021-12-18 Thread John Scott
Hi, I don't use OpenBSD, but I've played with it and am interested in making my code portable to it. A trend which the GNU C Library recently got on board with is to use a thread-local storage buffer for strerror() which makes it safe to use across multiple threads. I was wondering if there is a p