summaryrefslogtreecommitdiff
path: root/src/lib/libc/stdlib/strtonum.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Wrap <stdlib.h> so that calls go direct and the symbols not in theguenther2015-09-131-1/+2
| | | | | | C standard are all weak. Apply __{BEGIN,END}_HIDDEN_DECLS to gdtoa{,imp}.h, hiding the arch-specific __strtorx, __ULtox_D2A, __strtorQ, __ULtoQ_D2A symbols.
* the tiniest of style tweakstedu2013-04-171-7/+7
|
* It's not really possible to make strtonum() deal with unsigned longmillert2004-08-031-27/+10
| | | | | long values properly so don't bother trying. This greatly simplifies the code. tedu@ OK with input from otto@ and others.
* Do not forget to test the lower bound if the upper bound > LLONG_MAX.otto2004-07-161-1/+3
| | | | ok millert@
* Avoid comparing unsigned and signed long longs since the signedmillert2004-07-161-12/+18
| | | | | one will get implicitly cast to unsigned. Fixes a bug with negative minval noticed by mjc@. Similar to a diff from miod@. OK miod@.
* errno -> err in a structure. OK deraadt@marc2004-06-211-4/+4
|
* Be smarter about signed vs. unsigned (produces better error messages).millert2004-05-031-2/+2
| | | | OK otto@
* strtonum, a nicer version of strtoll, by millert and myself.tedu2004-05-031-0/+74
ok deraadt@ millert@