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

9 lines
91 B
C++
Raw Normal View History

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