Skip to content
New issue

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

stdlib: improve string to integer conversion functions #381

Merged
merged 2 commits into from
Nov 6, 2024

Commits on Nov 6, 2024

  1. stdlib: Improve strtoll, strtoull

    Add setting of errno on underflow, overflow and wrong base.
    Unify common code between strtoll and strtoull.
    Make code MISRA compliant.
    
    JIRA: RTOS-869
    jmaksymowicz committed Nov 6, 2024
    Configuration menu
    Copy the full SHA
    40760a8 View commit details
    Browse the repository at this point in the history
  2. stdlib: Fix strtol, strtoul

    Correct return value on signed long int overflow/underflow.
    Correct handling of "0x" prefix not followed by a hex digit.
    
    JIRA: RTOS-869
    jmaksymowicz committed Nov 6, 2024
    Configuration menu
    Copy the full SHA
    e2d34ae View commit details
    Browse the repository at this point in the history