46 #define __need_wchar_t
50 #define __ptr_t void *
84 #ifndef __ATTR_CONST__
85 #define __ATTR_CONST__ __attribute__((__const__))
88 #ifndef __ATTR_MALLOC__
89 #define __ATTR_MALLOC__ __attribute__((__malloc__))
92 #ifndef __ATTR_NORETURN__
93 #define __ATTR_NORETURN__ __attribute__((__noreturn__))
97 #define __ATTR_PURE__ __attribute__((__pure__))
106 extern void abort(
void) __ATTR_NORETURN__;
111 extern
int abs(
int __i) __ATTR_CONST__;
113 #define abs(__i) __builtin_abs(__i)
120 extern long labs(
long __i) __ATTR_CONST__;
122 #define labs(__i) __builtin_labs(__i)
143 extern void *
bsearch(
const void *__key,
const void *__base,
size_t __nmemb,
144 size_t __size,
int (*__compar)(
const void *,
const void *));
152 extern div_t div(
int __num,
int __denom) __asm__(
"__divmodhi4") __ATTR_CONST__;
158 extern
ldiv_t ldiv(
long __num,
long __denom) __asm__("__divmodsi4") __ATTR_CONST__;
175 extern
void qsort(
void *__base,
size_t __nmemb,
size_t __size,
208 extern
long strtol(const
char *__nptr,
char **__endptr,
int __base);
242 extern
unsigned long strtoul(const
char *__nptr,
char **__endptr,
int __base);
254 extern
long atol(const
char *__s) __ATTR_PURE__;
266 extern
int atoi(const
char *__s) __ATTR_PURE__;
278 extern
void exit(
int __status) __ATTR_NORETURN__;
290 extern
void *
malloc(
size_t __size) __ATTR_MALLOC__;
297 extern
void free(
void *__ptr);
319 extern
void *
calloc(
size_t __nele,
size_t __size) __ATTR_MALLOC__;
338 extern
void *
realloc(
void *__ptr,
size_t __size) __ATTR_MALLOC__;
340 extern
double strtod(const
char *__nptr,
char **__endptr);
342 extern
double atof(const
char *__nptr);
345 #define RAND_MAX 0x7FFF
364 extern int rand(
void);
368 extern void srand(
unsigned int __seed);
375 extern int rand_r(
unsigned long *__ctx);
406 extern char *
itoa(
int __val,
char *__s,
int __radix);
434 extern char *
ltoa(
long int __val,
char *__s,
int __radix);
460 extern char *
utoa(
unsigned int __val,
char *__s,
int __radix);
486 extern char *
ultoa(
unsigned long int __val,
char *__s,
int __radix);
490 #define RANDOM_MAX 0x7FFFFFFF
509 extern void srandom(
unsigned long __seed);
517 extern long random_r(
unsigned long *__ctx);
531 #define DTOSTR_ALWAYS_SIGN 0x01
534 #define DTOSTR_PLUS_SIGN 0x02
537 #define DTOSTR_UPPERCASE 0x04
539 #ifndef __ASSEMBLER__
563 extern char *
dtostre(
double __val,
char *__s,
unsigned char __prec,
564 unsigned char __flags);
580 extern char *
dtostrf(
double __val,
signed char __width,
581 unsigned char __prec,
char *__s);
586 extern int atexit(
void (*)(
void));
char * ultoa(unsigned long int __val, char *__s, int __radix)
Convert an unsigned long integer to a string.
int rand(void)
Definition: rand.c:91
div_t div(int __num, int __denom) __asm__("__divmodhi4")
double atof(const char *__nptr)
char * __malloc_heap_end
Definition: malloc.c:61
void exit(int __status) __ATTR_NORETURN__
long quot
Definition: stdlib.h:75
int(* __compar_fn_t)(const void *, const void *)
Definition: stdlib.h:80
void qsort(void *__base, size_t __nmemb, size_t __size, __compar_fn_t __compar)
void free(void *__ptr)
Definition: malloc.c:190
void * malloc(size_t __size) __ATTR_MALLOC__
Definition: malloc.c:68
void * bsearch(const void *__key, const void *__base, size_t __nmemb, size_t __size, int(*__compar)(const void *, const void *))
void srand(unsigned int __seed)
Definition: rand.c:98
char * utoa(unsigned int __val, char *__s, int __radix)
Convert an unsigned integer to a string.
char * itoa(int __val, char *__s, int __radix)
Convert an integer to a string.
void * calloc(size_t __nele, size_t __size) __ATTR_MALLOC__
Definition: calloc.c:39
long rem
Definition: stdlib.h:76
char * __malloc_heap_start
Definition: malloc.c:60
char * dtostre(double __val, char *__s, unsigned char __prec, unsigned char __flags)
Definition: dtostre.c:38
int atoi(const char *__s) __ATTR_PURE__
Convert a string to an integer.
Definition: atoi.c:34
int abs(int __i)
Definition: abs.c:34
unsigned long strtoul(const char *__nptr, char **__endptr, int __base)
size_t __malloc_margin
Definition: malloc.c:59
int quot
Definition: stdlib.h:69
long random(void)
Definition: random.c:81
char * dtostrf(double __val, signed char __width, unsigned char __prec, char *__s)
Definition: dtostrf.c:50
double strtod(const char *__nptr, char **__endptr)
Definition: strtod.c:89
void srandom(unsigned long __seed)
Definition: random.c:88
int rem
Definition: stdlib.h:70
long labs(long __i)
Definition: labs.c:34
long strtol(const char *__nptr, char **__endptr, int __base)
void * realloc(void *__ptr, size_t __size) __ATTR_MALLOC__
Definition: realloc.c:44
long atol(const char *__s) __ATTR_PURE__
Convert a string to a long integer.
Definition: atol.c:34
char * ltoa(long int __val, char *__s, int __radix)
Convert a long integer to a string.
ldiv_t ldiv(long __num, long __denom) __asm__("__divmodsi4")
void abort(void) __ATTR_NORETURN__
Definition: abort.c:34
long random_r(unsigned long *__ctx)
Definition: random.c:71
int rand_r(unsigned long *__ctx)
Definition: rand.c:81