cvs commit: src/include stdlib.h src/lib/libc/stdlib strtonum.3 strtonum.c Makefile.inc
Joerg Sonnenberger
joerg at crater.dragonflybsd.org
Sun Aug 15 09:01:24 PDT 2004
joerg 2004/08/15 09:01:11 PDT
DragonFly src repository
Modified files:
include stdlib.h
lib/libc/stdlib Makefile.inc
Added files:
lib/libc/stdlib strtonum.3 strtonum.c
Log:
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 at xxxxxxxxxxxxxxx>
Obtained-from: OpenBSD
Revision Changes Path
1.8 +5 -0 src/include/stdlib.h
1.7 +2 -2 src/lib/libc/stdlib/Makefile.inc
http://www.dragonflybsd.org/cvsweb/src/include/stdlib.h.diff?r1=1.7&r2=1.8&f=u
http://www.dragonflybsd.org/cvsweb/src/lib/libc/stdlib/Makefile.inc.diff?r1=1.6&r2=1.7&f=u
More information about the Commits
mailing list