aboutsummaryrefslogtreecommitdiff
path: root/libs/libc/errno.c
blob: 7204f5bbb010900503ccbf02d36391f1c2969261 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// MIT License, Copyright (c) 2021 Marvin Borner

#include <def.h>
#include <errno.h>
#ifdef userspace

static u32 error = 0;

u32 *__errno(void)
{
	return &error;
}

#endif