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


3.1.3 diskheap_close -- Close a diskheap structure

Function:
int diskheap_close(diskheap_t *diskheap_p)

Usage: ret = diskheap_close(diskheap_p);

This function closes a previously created or opened diskheap structure. It flushes any outstanding I/O, closes the file descriptor, and frees the memory in the structure. 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