[Back to Interface] [Prev] [Next]

SDend/sfend

intn SDend(int32 sd_id)

sd_id IN:

SD interface identifier returned by SDstart

Purpose

Terminates access to an SD interface.

Return value

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

Description

SDend closes the file and frees memory allocated by the library when SD interface activities are completed. If the calling program exits without invoking this routine, recent changes made to the in-core file data are likely not to be flushed to the file. Note that each SDstart must have a matching SDend.

FORTRAN

integer function sfend(sd_id)

integer sd_id



[Back to Interface] [Prev] [Next]

hdfhelp@ncsa.uiuc.edu
HDF Reference Manual - 07/29/98, NCSA HDF Development Group.