next up previous contents
Next: VOXEL/REAL FUNCTIONS (16) Up: VOLUME FUNCTIONS (6) Previous: miflush_volume   Contents

miclose_volume

NAME

miclose_volume - close an open volume, freeing the volume handle

SYNOPSIS

#include <minc2.h>

int miclose_volume ( mihandle_t    volume);

DESCRIPTION

Close an existing MINC volume. If the volume was newly created, all
changes will be written to disk. In all cases this function closes
the open volume and frees memory associated with the volume handle.

RETURN VALUE

Returns MI_NOERROR on success or MI_ERROR on failure.



Robert VINCENT 2005-03-09