[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

@@ -2,4 +2,13 @@
/// \file arch/amd64/errno.h
/// errno implementation for amd64
extern int errno;
#ifdef __cplusplus
extern "C" {
#endif
int * __errno_location();
#define errno (*__errno_location())
#ifdef __cplusplus
} // extern C
#endif