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

# H5G_OPEN

The H5G_OPEN function opens an existing group within an HDF5 file.

## Syntax

Result = H5G_OPEN(Loc_id, Name)

## Return Value

Returns the group’s identifier number. This identifier can be released with the H5G_CLOSE.

## Arguments

### Loc_id

An integer representing the identifier of the file or group containing the group to be accessed.

### Name

A string representing the name of the group to be accessed.

## Keywords

None

## Version History

5.6 | Introduced

## See Also

H5G_CLOSE