e08ca78f40
This change is made for two reasons: 1. A 3rd-party library (eg berkeley-db-1.xx, axtls) may use the system provided errno for certain errors, and yet MicroPython stream objects that it calls will be using the internal mp_stream_errno. So if the library returns an error it is not known whether the corresponding errno code is stored in the system errno or mp_stream_errno. Using the system errno in all cases (eg in the mp_stream_posix_XXX wrappers) fixes this ambiguity. 2. For systems that have threading the system-provided errno should always be used because the errno value is thread-local. For systems that do not have an errno, the new lib/embed/__errno.c file is provided. |
||
---|---|---|
.. | ||
asf4@d270f79aa1 | ||
axtls@43a6e6bd3b | ||
berkeley-db-1.xx@35aaec4418 | ||
btstack@8ffc7c281a | ||
cmsis/inc | ||
embed | ||
libc | ||
libffi@e9de7e35f2 | ||
libm | ||
libm_dbl | ||
littlefs | ||
lwip@159e31b689 | ||
mbedtls@3f8d78411a | ||
memzip | ||
mp-readline | ||
mynewt-nimble@97ce3eacaa | ||
netutils | ||
nrfx@7513fc9d5c | ||
nxp_driver@b618cb1d52 | ||
oofatfs | ||
stm32lib@668d7a9e54 | ||
timeutils | ||
tinytest | ||
tinyusb@a6b916ba85 | ||
upytesthelper | ||
utils | ||
README.md |
README.md
This directory contains standard, low-level C libraries with emphasis on being independent and efficient. They can be used by any port.