meta: move photon/libc to root
This commit is contained in:
9
libc/errno/errno.c
Normal file
9
libc/errno/errno.c
Normal file
@@ -0,0 +1,9 @@
|
||||
|
||||
|
||||
/* XXX This isn't thread safe */
|
||||
static int __errno = 0;
|
||||
|
||||
int *__errno_location(void)
|
||||
{
|
||||
return &__errno;
|
||||
}
|
||||
Reference in New Issue
Block a user