mirror of
https://github.com/justinian/jsix.git
synced 2025-12-10 00:14:32 -08:00
Most of the strto* functions are only stubbed out, but they're there for things that link to them but don't call them.
11 lines
146 B
C++
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;
|
|
}
|