]> git.ipfire.org Git - thirdparty/linux.git/blame - lib/kstrtox.h
Merge tag 'platform-drivers-x86-v6.10-1' of git://git.kernel.org/pub/scm/linux/kernel...
[thirdparty/linux.git] / lib / kstrtox.h
CommitLineData
b2441318 1/* SPDX-License-Identifier: GPL-2.0 */
1dff46d6
AD
2#ifndef _LIB_KSTRTOX_H
3#define _LIB_KSTRTOX_H
4
5#define KSTRTOX_OVERFLOW (1U << 31)
6const char *_parse_integer_fixup_radix(const char *s, unsigned int *base);
900fdc45
RF
7unsigned int _parse_integer_limit(const char *s, unsigned int base, unsigned long long *res,
8 size_t max_chars);
1dff46d6
AD
9unsigned int _parse_integer(const char *s, unsigned int base, unsigned long long *res);
10
11#endif