ret = diskheap_label_get_entry(diskheap_p, 1 /* entry
number */, &label_p, &block_num, &offset);
There are a certain number (currently 10) of label and location associations stored in the diskheap header. This function gets a specific entry and returns the label string and the associated block-number and offset location. It will return DISKHEAP_ERROR_NONE if it succeeds otherwise an error code.
label_p string pointer argument must be passed
free to be deallocated.
Go to the first, previous, next, last section, table of contents.
Diskheap Home Page. Copyright 2002 by Gray Watson