Created
October 24, 2021 02:39
-
-
Save pidb/767783da44ebfda2678501fab00d62a8 to your computer and use it in GitHub Desktop.
csapp/vm/malloc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* $begin memlibheader */ | |
#include <unistd.h> | |
void mem_init(void); | |
void *mem_sbrk(int incr); | |
void mem_deinit(void); | |
void mem_reset_brk(void); | |
void *mem_heap_lo(void); | |
void *mem_heap_hi(void); | |
size_t mem_heapsize(void); | |
size_t mem_pagesize(void); | |
/* $end memlibheader */ | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment