[Top] [Prev] [Next] [Bottom]

ANend/afend

intn ANend(int32 an_id)
an_id

IN:

Multifile annotation interface identifier returned by ANstart

Purpose

Terminates access to the multifile annotation interface.

Return value

Returns SUCCEED (or 0) if successful and FAIL (or -1) otherwise.

Description

This routine is used with the ANstart routine to define the extent of a multifile annotation interface session. As in other multifile interfaces, ANend disposes of the internal structures used by the remaining AN routines.

Example

This example illustrates the use of ANend:

#include "hdf.h"

int32 an_id, file_id, stat;

file_id = Hopen("myfile", DFACC_WRITE, 0);
an_id = ANstart(file_id);
       ...
Hclose(file_id);
      
FORTRAN

integer function afend(an_id)

integer an_id



[Top] [Prev] [Next] [Bottom]

hdfhelp@ncsa.uiuc.edu
HDF User's Reference Manual, Draft 06/01/97, NCSA HDF Development Group.