I know how to convert a string into int, float... is never a new question. After going through some articles, I was suggested to use strtol, strtoll, strtod, so I took a close look at those functions.
Although strtol claims thread safety in its man page, but it will modify errno, so does it really thread safe?
If not, what's the right way to do such converting jobs in C++ (not C++11) and keep thread safe?