mescc: Tinycc support: strtoll stub.

* mlibc/include/stdlib.h (strtoll): Declare.
* mlibc/libc-mes+tcc.c (strtoll): Add stub.
This commit is contained in:
Jan Nieuwenhuizen 2017-07-24 18:12:28 +02:00
parent ec335eef50
commit 9f44c4875a
2 changed files with 7 additions and 0 deletions

View file

@ -40,6 +40,7 @@ void *malloc (size_t);
void qsort (void *base, size_t nmemb, size_t size, int (*compar)(void const *, void const *));
void *realloc (void *p, size_t size);
long strtol (char const *nptr, char **endptr, int base);
long long strtoll (char const *nptr, char **endptr, int base);
unsigned long strtoul (char const *nptr, char **endptr, int base);
unsigned long long strtoull (char const *nptr, char **endptr, int base);

View file

@ -142,6 +142,12 @@ strtol (char const *nptr, char **endptr, int base)
return 0;
}
long long int
strtoll (char const *nptr, char **endptr, int base)
{
return 0;
}
unsigned long
strtoul (char const *nptr, char **endptr, int base)
{