Part of
the homework for 22C:50, Fall 2003
by
Douglas W. Jones
THE UNIVERSITY
OF IOWA
Department of Computer Science
The interface to your heap manager should use myalloc() for allocation and myfree() for deallocation, but aside from the prefix my, these should have the same interface specification as malloc() and free() in the standard C library. Your heap manager should return a null pointer if it cannot satisfy an allocation request.
The test program is here:
http://www.cs.uiowa.edu/~jones/syssoft/spring03/hw/alloctest.c