In POSIX.1-2017: The getenv() function need not be thread-safe.
But, in man page, the genenv is MT-Safe env.
│Interface │ Attribute │ Value │
│getenv(), secure_getenv() │ Thread safety │ MT-Safe env │
However,
The implementation of getenv() is not required to be reentrant. The string pointed to by the return value of getenv() may be statically allocated, and can be modified by a subsequent call to getenv(), putenv(3), setenv(3), or unsetenv(3).
So, what is the MT-safe env
??
Thank you!