[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

@@ -0,0 +1,10 @@
#include <arch/amd64/errno.h>
static int errno_value = 0;
int *
__errno_location()
{
// TODO: thread-local errno
return &errno_value;
}