banan-os/userspace/libraries/LibC/errno.cpp

9 lines
91 B
C++

#include <errno.h>
static int s_errno = 0;
int* __errno_location()
{
return &s_errno;
}