1 #ifndef _MALLOC_H 2 #define _MALLOC_H 3 4 #ifdef __cplusplus 5 extern "C" { 6 #endif 7 8 #define __NEED_size_t 9 10 #include <bits/alltypes.h> 11 12 void *malloc (size_t); 13 void *calloc (size_t, size_t); 14 void *realloc (void *, size_t); 15 void free (void *); 16 void *valloc (size_t); 17 void *memalign(size_t, size_t); 18 19 size_t malloc_usable_size(void *); 20 21 #ifdef __cplusplus 22 } 23 #endif 24 25 #endif 26