From 0b016428a7be4518e4e880536d8ecd8f980fcfd8 Mon Sep 17 00:00:00 2001 From: Roland Gaudig Date: Fri, 23 Jul 2021 12:29:18 +0000 Subject: lib: strto: add simple_strtoll function Add simple_strtoll function for converting a string containing digits into a long long int value. Signed-off-by: Roland Gaudig Reviewed-by: Simon Glass --- include/vsprintf.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/vsprintf.h') diff --git a/include/vsprintf.h b/include/vsprintf.h index 2290083eba..4016de6677 100644 --- a/include/vsprintf.h +++ b/include/vsprintf.h @@ -41,6 +41,7 @@ int strict_strtoul(const char *cp, unsigned int base, unsigned long *res); unsigned long long simple_strtoull(const char *cp, char **endp, unsigned int base); long simple_strtol(const char *cp, char **endp, unsigned int base); +long long simple_strtoll(const char *cp, char **endp, unsigned int base); /** * trailing_strtol() - extract a trailing integer from a string -- cgit v1.2.3