Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | The 0x (or 0X) prefix in base 16 is optional so only skip over the | millert | 2017-07-06 | 1 | -3/+3 |
| | | | | | | prefix if the character following it is a valid hex char. The C99 standard is clear that given the string "0xy" zero should be returned and endptr set to point to the "x". OK deraadt@ espie@ | ||||
* | Wrap <inttypes.h> and finish wrapping of <wchar.h> so that calls go direct | guenther | 2015-09-12 | 1 | -1/+2 |
| | | | | and the symbols not in the C standard are weak | ||||
* | Make sure that the following functions return 0 and EINVAL as | schwarze | 2014-09-13 | 1 | -5/+11 |
| | | | | | | | | | | required by the C standard when called with an invalid base: strtoll(), strtoimax(), strtoul(), strtoull(), and strtoumax(). Same behaviour for strtoq() and strtouq() even though not standardized. No functional change in strtol(), it was the only one already correct. While here, simplify the conditional expression for checking the base and sync whitespace and comments among the six files. ok millert@ | ||||
* | Add lldiv(), imaxabs(), imaxdiv(), strtoimax() and strtoumax() | millert | 2006-01-13 | 1 | -0/+102 |