History log of /src/lib/libc/stdlib/strtonum.3 (Results 1 – 25 of 51)
Revision Date Author Comments
# 6a6f230d 16-Dec-2025 Hans Rosenfeld <rosenfeld@grumpf.hope-2000.org>

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,

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

show more ...


# b2c76c41 16-Aug-2023 Warner Losh <imp@FreeBSD.org>

Remove $FreeBSD$: one-line nroff pattern

Remove /^\.\\"\s*\$FreeBSD\$$\n/


# 6a6f230d 16-Dec-2025 Hans Rosenfeld <rosenfeld@grumpf.hope-2000.org>

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,

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

show more ...


# b2c76c41 16-Aug-2023 Warner Losh <imp@FreeBSD.org>

Remove $FreeBSD$: one-line nroff pattern

Remove /^\.\\"\s*\$FreeBSD\$$\n/


# 0bfd163f 18-Oct-2013 Gleb Smirnoff <glebius@FreeBSD.org>

Merge head r233826 through r256722.


# 1ccca3b5 10-Oct-2013 Alan Somers <asomers@FreeBSD.org>

IFC @256277

Approved by: ken (mentor)


# ef90af83 20-Sep-2013 Peter Grehan <grehan@FreeBSD.org>

IFC @ r255692

Comment out IA32_MISC_ENABLE MSR access - this doesn't exist on AMD.
Need to sort out how arch-specific MSRs will be handled.


# d1d01586 05-Sep-2013 Simon J. Gerraty <sjg@FreeBSD.org>

Merge from head


# 46ed9e49 04-Sep-2013 Peter Grehan <grehan@FreeBSD.org>

IFC @ r255209


# c65779d4 18-Aug-2013 Pawel Jakub Dawidek <pjd@FreeBSD.org>

Make example more correct (errstr is a pointer, not boolean).


# 0bfd163f 18-Oct-2013 Gleb Smirnoff <glebius@FreeBSD.org>

Merge head r233826 through r256722.


# 1ccca3b5 10-Oct-2013 Alan Somers <asomers@FreeBSD.org>

IFC @256277

Approved by: ken (mentor)


# ef90af83 20-Sep-2013 Peter Grehan <grehan@FreeBSD.org>

IFC @ r255692

Comment out IA32_MISC_ENABLE MSR access - this doesn't exist on AMD.
Need to sort out how arch-specific MSRs will be handled.


# d1d01586 05-Sep-2013 Simon J. Gerraty <sjg@FreeBSD.org>

Merge from head


# 46ed9e49 04-Sep-2013 Peter Grehan <grehan@FreeBSD.org>

IFC @ r255209


# c65779d4 18-Aug-2013 Pawel Jakub Dawidek <pjd@FreeBSD.org>

Make example more correct (errstr is a pointer, not boolean).


# 19fe8e84 22-Oct-2010 Dimitry Andric <dim@FreeBSD.org>

Sync: merge r214077 through r214219 from ^/head.


# a10502a5 22-Oct-2010 Benedict Reuschling <bcr@FreeBSD.org>

Revert to r214147, errno is not clobbered as originally
thought.


# a8af8b78 21-Oct-2010 Benedict Reuschling <bcr@FreeBSD.org>

Document strtonum()s behavior of setting errno to 0 when no error is found.

PR: docs/143330
Submitted by: Efstratios Karatzas (gpf dot kira at gmail dot com)
Discussed with: ru@
MFC af

Document strtonum()s behavior of setting errno to 0 when no error is found.

PR: docs/143330
Submitted by: Efstratios Karatzas (gpf dot kira at gmail dot com)
Discussed with: ru@
MFC after: 7 days

show more ...


# e9e38bc2 21-Oct-2010 Benedict Reuschling <bcr@FreeBSD.org>

Sync with OpenBSD rev. 1.13:
strtonum does not require limits.h

Obtained from: OpenBSD
Discussed with: ru@
MFC after: 5 days


# ad136d1e 30-Sep-2006 Ruslan Ermilov <ru@FreeBSD.org>

Revise markup in recently added manpages.


# 91545fcc 15-Mar-2006 Ruslan Ermilov <ru@FreeBSD.org>

Add a non-optional newline after ".Bx".


# 7727f485 15-Mar-2006 Andre Oppermann <andre@FreeBSD.org>

Revert previous changes as we do support the .Ox macro for OpenBSD.

Pointed out by: ceri, ru, delphij


# b0b23267 14-Mar-2006 Andre Oppermann <andre@FreeBSD.org>

Fix HISTORY and point to OpenBSD.


# c74dfa2f 14-Mar-2006 Andre Oppermann <andre@FreeBSD.org>

Import of OpenBSD's strtonum(3) which is a nicer version of strtoll(3)
providing proper error checking and other improvements.

Obtained from: OpenBSD
Requested by: flz (to port Open[BGP|OSPF]D)
MFC

Import of OpenBSD's strtonum(3) which is a nicer version of strtoll(3)
providing proper error checking and other improvements.

Obtained from: OpenBSD
Requested by: flz (to port Open[BGP|OSPF]D)
MFC after: 3 days

show more ...


123