Re: reentrant functions

2004-04-12 Thread Oleg Ostrozhansky
Wouldn't you just want to export all _*_r symbols listed in the "Reentrancy" section of "info libc", which are: _Equivalent for errno variable:_ _errno_r _Locale functions:_ _localeconv_r _setlocale_r _Equivalents for stdio variables:_ _s

reentrant functions

2004-04-06 Thread Oleg Ostrozhansky
I have a question about writing a multi-threaded program (using POSIX.1 threads) in Cygwin. "info libc" has a nice chapter about reentrancy, which talks about __r reentrant variants for functions that are not thread-safe. But when as an example I try using _gets_r(), I'm getting a link error that