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