first previous next last contents

io_deallocate_reading

#include <IO.h>

int io_deallocate_reading(
        GapIO  *io,
        int     N);

The io_deallocate_reading function deallocates the records linked to by reading number N. These are the name, trace_name, trace_type, sequence, confidence and orig_positions fields of the GReadings structure.

The reading itself is not deallocated. The operation of Gap4 requires that reading numbers are sequential with all numbers used. It is up to the caller of this routine to make sure that this is still true.

It returns 0 for success and >=1 for failure.


first previous next last contents
This page is maintained by staden-package. Last generated on 1 March 2001.
URL: http://www.mrc-lmb.cam.ac.uk/pubseq/manual/scripting_130.html