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


3.3.1 diskheap_label_set -- Associate a label with a diskheap location.

Function:
int diskheap_label_set(diskheap_t * diskheap_p, const char *label, const unsigned int block_num, const unsigned int offset, const int overwrite_b);

Usage: ret = diskheap_label_set(diskheap_p, "start", block_num, offset, 1 /* overwrite */);

This function associates a specific block-number and offset location with a 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