So, as far as I know, malloc returns a pointer to a location in the heap.
sbrk() expands the heap by a minimum of 4k
If I could not use malloc, for reasons, would it be possible in c to allocate memory to a new member if a linked list (for example) by using an adress withing that 4k that has been gained by an sbrk() call, instead of a malloc?
Sorry if this is a dmub question :(
EDIT: The reason I can't use malloc is because my task is to create my own malloc and am told to use sbrk.