mirror of
https://xff.cz/git/u-boot/
synced 2025-09-03 17:52:07 +02:00
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 <roland.gaudig@weidmueller.com> Reviewed-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user