Files
jsix_import/src/libraries/libc/arch/amd64/errno.cpp
Justin C. Miller 29332cbd45 [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.
2024-04-30 22:20:41 -07:00

11 lines
146 B
C++

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