3 alloc \- allocate memory
7 char *\fBalloc\fP(\fInew\fR);
9 void \fBalloc_free\fP(\fIx\fR);
11 void \fBalloc_re\fP(&\fIx\fR,\fIold\fR,\fInew\fR);
15 unsigned int \fIold\fR;
17 unsigned int \fInew\fR;
20 allocates enough space from the heap for
23 adequately aligned for any data type.
27 returns a pointer to the space.
28 If space is not available,
36 returns space to the heap.
39 expands the space allocated to
46 It allocates new space,
49 bytes from the old space to the new space,
50 returns the old space to the heap,
53 to point to the new space.
55 If space is not available,
58 leaving the old space alone.