Greg Kroah-Hartman | b244131 | 2017-11-01 15:07:57 +0100 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
Alexey Dobriyan | 1dff46d | 2011-10-31 17:12:28 -0700 | [diff] [blame] | 2 | #ifndef _LIB_KSTRTOX_H |
| 3 | #define _LIB_KSTRTOX_H |
| 4 | |
| 5 | #define KSTRTOX_OVERFLOW (1U << 31) |
| 6 | const char *_parse_integer_fixup_radix(const char *s, unsigned int *base); |
Richard Fitzgerald | 900fdc4 | 2021-05-14 17:12:04 +0100 | [diff] [blame] | 7 | unsigned int _parse_integer_limit(const char *s, unsigned int base, unsigned long long *res, |
| 8 | size_t max_chars); |
Alexey Dobriyan | 1dff46d | 2011-10-31 17:12:28 -0700 | [diff] [blame] | 9 | unsigned int _parse_integer(const char *s, unsigned int base, unsigned long long *res); |
| 10 | |
| 11 | #endif |