Skip to content

Choose a tag to compare

@gerickson gerickson released this 06 Apr 23:37
· 0 commits to main since this release
  • Added six new interfaces:
    1. strnto[u]ll
    2. strnto[iu]max
    3. strnto[u]q
  • Fixed a bug in signed conversion where values representable in the unsigned type but exceeding the signed range (for example, 0x8000000000000000 for a 64-bit signed type) were silently cast rather than clamped with ERANGE. Historically, this affected strntol for inputs between LONG_MAX + 1 and ULONG_MAX that did not trigger unsigned overflow.