orca/cstdlib/src/__errno_location.c

10 lines
173 B
C
Raw Normal View History

2023-06-24 02:32:54 +00:00
#include <errno.h>
int errno;
int *__errno_location(void)
{
// NOTE(orca): We might need a better solution if we eventually support wasm threads.
return &errno;
}