1 2 3 4 5
#include "../thread-internal.h" int * __errno(void) { return &__running_self_entry()->__errno; }