From 50dbce3c1a13c2cbba52aac909c21699df509b0e Mon Sep 17 00:00:00 2001 From: Bernard Xiong Date: Fri, 22 Aug 2014 09:01:33 +0800 Subject: [PATCH] Update string.c --- components/libc/minilibc/string.c | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/components/libc/minilibc/string.c b/components/libc/minilibc/string.c index 4969ed2fc6..4e90da1554 100644 --- a/components/libc/minilibc/string.c +++ b/components/libc/minilibc/string.c @@ -621,4 +621,14 @@ char *strchr(const char *s1, int i) return (char *) s; } +long strtol(const char *str, char **endptr, int base) +{ + return simple_strtol(str, endptr, base); +} + +long long strtoll(const char *str, char **endptr, int base) +{ + return simple_strtoll(str, endptr, base); +} + #endif -- GitLab