1 #include <errno.h> 2 #include "pthread_impl.h" 3 __errno_location(void)4int *__errno_location(void) 5 { 6 return &__pthread_self()->errno_val; 7 } 8 9 weak_alias(__errno_location, ___errno_location); 10
1 #include <errno.h> 2 #include "pthread_impl.h" 3 __errno_location(void)4int *__errno_location(void) 5 { 6 return &__pthread_self()->errno_val; 7 } 8 9 weak_alias(__errno_location, ___errno_location); 10