1
0

malloc.h 362 B

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