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


3.3.2 diskheap_label_get -- Get the location associated with a label.

Function:
int diskheap_label_get(diskheap_t * diskheap_p, const char *label, unsigned int * block_num_p, unsigned int * offset_p);

Usage: ret = diskheap_label_get(diskheap_p, "start", &block_num, &offset);

This function gets the block-number and offset location that is associated with a specific string label. It will return DISKHEAP_ERROR_NONE if it succeeds otherwise an error code.


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

Diskheap Home Page. Copyright 2002 by Gray Watson