summaryrefslogtreecommitdiffstats
path: root/src/vendorcode/cavium/include/bdk/lame_string.h
blob: 7ada9007b4654d0e06efaf103f3cfa0416826dee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/*
 * This file is part of the coreboot project.
 *
 * Copyright 2018-present Facebook, Inc.
 *
 * SPDX-License-Identifier: BSD-3-Clause
 */

#ifndef __LAME_STRING_H__
#define __LAME_STRING_H__

long int strtol(const char *nptr, char **endptr, int base);
long long int strtoll(const char *nptr, char **endptr, int base);
unsigned long int strtoul(const char *nptr, char **endptr, int base);
unsigned long long int strtoull(const char *nptr, char **endptr, int base);
int str_to_hex(const char *str, int64_t *val);
int str_to_int(const char *str, int64_t *val);

#endif