We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is your enhancement proposal related to a problem? Please describe. An issue with portability is the lack of a strerror() function.
strerror()
However, it is understandable why the function is not included (the string table increases ROM footprint and we want to keep Zephyr small).
It's an annoyance to have to #ifdef-out sections of 3rd-party code that rely on its presence.
#ifdef
Describe the solution you'd like A functional strerror() with a Kconfig option to enable the string error table.
Describe alternatives you've considered #ifdef-ing out code in 3rd-party libraries ad-infinitum.
Additional context Useful for perror()
perror()
The text was updated successfully, but these errors were encountered:
libc: minimal: add strerror and strerror_r function
ab28b35
Add simple strerror() and strerror_r() implementations. Fixes zephyrproject-rtos#46099 Signed-off-by: Christopher Friedt <cfriedt@fb.com>
4cc4437
Add simple strerror() and strerror_r() implementations. Fixes #46099 Signed-off-by: Christopher Friedt <cfriedt@fb.com>
cfriedt
Successfully merging a pull request may close this issue.
Is your enhancement proposal related to a problem? Please describe.
An issue with portability is the lack of a
strerror()
function.However, it is understandable why the function is not included (the string table increases ROM footprint and we want to keep Zephyr small).
It's an annoyance to have to
#ifdef
-out sections of 3rd-party code that rely on its presence.Describe the solution you'd like
A functional
strerror()
with a Kconfig option to enable the string error table.Describe alternatives you've considered
#ifdef
-ing out code in 3rd-party libraries ad-infinitum.Additional context
Useful for
perror()
The text was updated successfully, but these errors were encountered: