Routines (alphabetical) > Routines: H > HDF5 Routines > H5D_CLOSE

# H5D_CLOSE

The H5D_CLOSE procedure closes the specified dataset and releases its used resources. After this routine is used, the dataset’s identifier is no longer available until the H5D_GET_SPACE is used again to specify that dataset.

## Syntax

H5D_CLOSE, Dataset_id

## Arguments

### Dataset_id

An integer representing the dataset’s identifier to be closed.

## Keywords

None

## Version History

5.6 | Introduced

## See Also

H5D_OPEN