summaryrefslogtreecommitdiffstats
path: root/lib/atoi/strtou_noneg.c
blob: 71cacbd1e85fe3fe258f46430f0529829c63e6d1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// SPDX-FileCopyrightText: 2023, Alejandro Colomar <alx@kernel.org>
// SPDX-License-Identifier: BSD-3-Clause


#include <config.h>

#include "atoi/strtou_noneg.h"

#include <stdint.h>


extern inline uintmax_t strtou_noneg(const char *s, char **restrict endp,
    int base, uintmax_t min, uintmax_t max, int *restrict status);