malloc.h 458 B

123456789101112131415161718192021222324
  1. #ifndef _MALLOC_H
  2. #define _MALLOC_H
  3. #include <stddef.h>
  4. // Generated from:
  5. // `grep "malloc\|calloc\|realloc\|free\|valloc\|memalign" target/include/stdlib.h`
  6. #ifdef __cplusplus
  7. extern "C" {
  8. #endif
  9. void *calloc(size_t nelem, size_t elsize);
  10. void free(void *ptr);
  11. void *malloc(size_t size);
  12. void *memalign(size_t alignment, size_t size);
  13. void *realloc(void *ptr, size_t size);
  14. void *valloc(size_t size);
  15. #ifdef __cplusplus
  16. } // extern "C"
  17. #endif
  18. #endif