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


3.4.1 diskheap_linear_first -- Get the location of first entry in the heap.

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

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

This function starts the linear access operation by setting the block-number and offset location to the first allocation found 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 entries in the heap.


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

Diskheap Home Page. Copyright 2002 by Gray Watson