[libc] Update errno and strto* files for compatibility

Most of the strto* functions are only stubbed out, but they're there for
things that link to them but don't call them.
This commit is contained in:
Justin C. Miller
2024-04-30 22:20:41 -07:00
parent 172eb70551
commit 29332cbd45
21 changed files with 346 additions and 1 deletions

View File

@@ -23,3 +23,5 @@ int memcmp(const void *s1, const void *s2, size_t n) {
return -1;
}
extern "C" int bcmp(const void *s1, const void *s2, size_t n)
__attribute__ ((weak, alias ("memcmp")));