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


3.1.2 diskheap_open -- Open an existing diskheap file

Function:
diskheap_t *diskheap_open(const char *file, const unsigned int flags, unsigned int *heap_type_p, int *error_p)

Usage: diskheap_p = diskheap_open("stuff.dh", 0 /* no flags */, 0L /* don't want the type */, &ret /* error code */);

This function opens a Diskheap file that was created beforehand with diskheap_create. It takes a pointer to the heap-type variable which will be set to the number passed to diskheap_create.


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

Diskheap Home Page. Copyright 2002 by Gray Watson