Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void *extend_heap(size_t size)
- {
- t_chunk *chunk;
- size_t t_size;
- printf("extend_heap\n");
- t_size = round_pagesize(size + BLOCK_SIZE);
- if ((chunk = (t_chunk *) sbrk(t_size)) == (t_chunk *) - 1)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement