summaryrefslogtreecommitdiffstats
path: root/firmware/libc/errno.c
blob: 06727684842c9442c28e03cd162fd00b61783fb1 (plain)
1
2
3
4
5
#include "../thread-internal.h"
int * __errno(void)
{
    return &__running_self_entry()->__errno;
}