HomeFreeBSD

libc/stdlib: Port strtonumx() from Illumos

Description

libc/stdlib: Port strtonumx() from Illumos

Add strtonumx(), a companion to strtonum(3) that preserves its safety
and error-reporting semantics while allowing the caller to specify a
conversion base, similar to the strtol(3) family of functions.

Reviewed by: emaste, kib, ziaee
Obtained from: https://www.illumos.org/issues/15365
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D54270

Details

Provenance
rosenfeld_grumpf.hope-2000.orgAuthored on Dec 16 2025, 4:04 PM
jrmCommitted on Jan 15 2026, 1:45 PM
Reviewer
emaste
Differential Revision
D54270: libc/stdlib: Port strtonumx() from illumos #15365
Parents
rG73c921ef1d44: nvme: Add ability to override ioq to put the request on
Branches
Unknown
Tags
Unknown