10 lines
166 B
C
10 lines
166 B
C
|
#include <errno.h>
|
||
|
#include "pthread_impl.h"
|
||
|
|
||
|
int *__errno_location(void)
|
||
|
{
|
||
|
return &__pthread_self()->errno_val;
|
||
|
}
|
||
|
|
||
|
weak_alias(__errno_location, ___errno_location);
|