Skip to content

__errno() not provided with newlib #1995

Open
@nickmertin

Description

@nickmertin

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-API-requestCategory: API requestE-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions