mirror of
https://github.com/espressif/esp-idf.git
synced 2025-11-03 22:08:28 +00:00
Since these functions receive the pointer to reent structure, they should set errno in it rather than using thread-local errno. This didn't cause practical issues because console functions in IDF are only called from threads, and in that case 'r' is a pointer to the thread-local structure, so &errno is the same thing as &__errno_r(r). Still, fixing this for consistency.
5.2 KiB
5.2 KiB