1 2 3 4 5 6 7 8 9 10 11 12 13
static int __errno_storage = 0; int *__errno_location(void) { return &__errno_storage; } /* musl's internal errno macro (src/include/errno.h) maps errno to the * triple-underscore spelling; musl-internal objects reference this one. */ int *___errno_location(void) { return &__errno_storage; }