Piotr Caban : msvcrt: Improve error handling in getenv_s.