Go to the first, previous, next, last section, table of contents.


3.4.2 diskheap_linear_next -- Get the location of next entry in the heap.

Function:
int diskheap_linear_next(diskheap_t * diskheap_p, diskheap_linear_t * linear_p);

Usage: ret = diskheap_linear_next(diskheap_p, &linear);

This function adjusts the linear structure to reference the next allocation location in the heap. You can start at any valid location in the heap. It will return DISKHEAP_ERROR_NONE if it succeeds otherwise an error code including DISKHEAP_ERROR_NOT_FOUND if there are no more entries in the heap.


Go to the first, previous, next, last section, table of contents.

Diskheap Home Page. Copyright 2002 by Gray Watson