#include <stdio.h>
#include <limits.h>
+struct __locale_map;
+
+struct __locale_struct {
+ int ctype_utf8;
+ char *messages_name;
+ struct __locale_map *cat[4];
+};
+
struct __libc {
- void *main_thread;
+ int has_thread_pointer;
+ int can_do_threads;
int threaded;
int secure;
size_t *auxv;
volatile int threads_minus_1;
- int canceldisable;
FILE *ofl_head;
int ofl_lock[2];
size_t tls_size;
size_t page_size;
+ volatile int uselocale_cnt;
+ volatile int bytelocale_cnt_minus_1;
+ struct __locale_struct global_locale;
};
extern size_t __hwcap;