ucmd_heap.h 345 B

1234567891011
  1. /* Ring-3 libc heap extensions (see libc/malloc.c).
  2. *
  3. * heap_reset() discards every live allocation and unmaps the whole
  4. * SYS_MEM_* arena. It is intended for page-scoped programs such as the
  5. * browser; every pointer obtained from malloc becomes invalid. */
  6. #ifndef LIBC_UCMD_HEAP_H
  7. #define LIBC_UCMD_HEAP_H
  8. void heap_reset(void);
  9. #endif