Add strotonum(3) into the !ANSI_SOURCE && !_POSIX_SOURCE && !__STRICT_ANSI
authorJoerg Sonnenberger <joerg@dragonflybsd.org>
Sun, 15 Aug 2004 16:01:11 +0000 (16:01 +0000)
committerJoerg Sonnenberger <joerg@dragonflybsd.org>
Sun, 15 Aug 2004 16:01:11 +0000 (16:01 +0000)
commit70e9d14e12387fc38affd4f3fc1ee358a2698369
tree71ae179ad01d73b49fb6009533a3a5cef0df4edb
parent1c418f3bec551c8e22a82862b96665a0c883c3a4
Add strotonum(3) into the !ANSI_SOURCE && !_POSIX_SOURCE && !__STRICT_ANSI
part of stdlib.h.

strtonum simplifies string conversion by allowing automatic boundary checks.

Submitted-by: Andre Nathan <andre@digirati.com.br>
Obtained-from: OpenBSD
include/stdlib.h
lib/libc/stdlib/Makefile.inc
lib/libc/stdlib/strtonum.3 [new file with mode: 0644]
lib/libc/stdlib/strtonum.c [new file with mode: 0644]