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

SDend/sfend

intn SDend(int32 sd_id)
sd_id

IN:

SD interface identifier returned from SDstart

Purpose

Closes the file and frees memory allocated by the library.

Return value

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

Description

SDend closes the file when done with SD interface activities. If a user program exits without calling this function, changes made to the file data in-core are likely not to be flushed to the file.

FORTRAN

integer function sfend(sd_id)

integer sd_id



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

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