strtonum(3) reliably convertss string value to an integer.
This function is used in OpenBSD compat namespace
and is located inside NetBSD's libc.
Add a dedicated test for this interface.
It's a reworked version of the original code by Yang Zheng.
Differential D54527
Add new interceptor for strtonum(3) krytarowski on Nov 14 2018, 7:53 AM. Authored by
Details strtonum(3) reliably convertss string value to an integer. Add a dedicated test for this interface. It's a reworked version of the original code by Yang Zheng.
Diff Detail
Event Timeline
Comment Actions If this patch looks fine, I will follow up with this approach in strtoi(3)/strtou(3) https://reviews.llvm.org/D54702
|