"Waldemar Kornewald" <Waldemar.Kornewald@xxxxxx> wrote: > > 1) what is h_errno actually used for? > It is used to report the error status, I think. ;) Hehe :-) I actually didn't know that it was a standard variable. > > 2) if it's used like the POSIX errno variable, why not copy the > > exact > > mechanism? > I will try to find out how it is used exactly (or if it is used at > all). Why is > there h_errno_tls then? > Is our POSIX errno thread-specific or global? It has to be thread local. h_errno_tls only stores the TLS slot that stores the integer indicating the error. Bye, Axel.