alloc_seg
struct alloc_seg *segstr_ptr, *nextstr_ptr;
struct alloc_seg *new_alloc_cs;
struct alloc_seg *alloc_segment;
(struct alloc_seg *)calloc(1,
sizeof (struct alloc_seg))) == NULL) {
if ((new_alloc_cs = (struct alloc_seg *)malloc(
sizeof (struct alloc_seg))) == NULL) {
struct alloc_seg *cur_as_ptr;
struct alloc_seg *next; /* next record */
struct alloc_seg *alloc_segs; /* memory pool */
struct alloc_seg *cur_segment; /* the current allocated segment */