libc: Stub out strtod()

This commit is contained in:
apio 2022-11-09 11:37:52 +01:00
parent da4c0d5184
commit d3030d2111
2 changed files with 7 additions and 0 deletions

View File

@ -63,6 +63,8 @@ extern "C"
/* Returns an integer (of type unsigned long) parsed from the string str. */
unsigned long strtoul(const char* str, char** endptr, int base);
double strtod(const char* str, char** endptr); // Not implemented.
/* Returns an integer (of type long) parsed from the string str. */
long strtol(const char* str, char** endptr, int base);

View File

@ -303,4 +303,9 @@ extern "C"
if (errno) return NULL;
return str;
}
double strtod(const char*, char**)
{
NOT_IMPLEMENTED("strtod");
}
}