This package's Errno type is using strerror to produce error strings. For unknown error numbers strerror writes a string into a static buffer and returns it, but whether this static buffer is thread local is unspecified. Using strerror_r would guarantee thread safety even for unknown error codes.
This package's
Errnotype is usingstrerrorto produce error strings. For unknown error numbersstrerrorwrites a string into a static buffer and returns it, but whether this static buffer is thread local is unspecified. Usingstrerror_rwould guarantee thread safety even for unknown error codes.