Target triple: armv7a-none-eabi in my case, but it applies to others as well.
There is no API which provides access to C's errno when in a newlib environment. newlib itself provides a function __errno(), which has a return type of int *; see the declaration in <errno.h> here. It appears to be equivalent to __errno_location() in the linux environment, which is currently supported.
Target triple:
armv7a-none-eabiin my case, but it applies to others as well.There is no API which provides access to C's
errnowhen in anewlibenvironment.newlibitself provides a function__errno(), which has a return type ofint *; see the declaration in<errno.h>here. It appears to be equivalent to__errno_location()in thelinuxenvironment, which is currently supported.