blob: ed399480ae42de04fc9f2833b4c70b275d11d1d6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#include "../_nonstd.h"
#include "../locale/_locale.h"
#include "../_perthread.h"
void *__libc_per_thread(LIBC_INTERNAL variable)
{
THREAD_LOCAL int errno;
THREAD_LOCAL struct __locale_t locale;
switch (variable) {
case THREAD_LOCALE:
return &locale;
default:
break;
}
return (void*)0;
}
|