next up previous contents
Next: 4.7 fluke_region_get_state: retrieve the Up: 4 Regions Previous: 4.5 fluke_region_create_hash: create a

4.6 fluke_region_destroy: destroy a memory region

SYNOPSIS

void fluke_region_destroy(fluke_region_t *region);

DESCRIPTION

Destroys a region created with fluke_region_create. All memory mappings into the region are automatically invalidated.

PARAMETERS

region
The region to destroy.

ERRORS

If any of the following errors is detected by the Fluke implementation, it causes the current thread to take a synchronous exception with one of the following codes. All of these have an implicit FLUKE_INSANITY_ prefix.
NO_OBJECT
region does not point to an active object.
NOT_REGION
The object pointed to by region is not a region object.
INVALID_OBJECT
The state of the region object has become invalid.

RELATED INFORMATION

fluke_region_create



Utah Flux Research Group