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

H5G_CREATE

The H5G_CREATE function creates a new empty group and gives it a name.

Syntax

Result = H5G_CREATE(Loc_id, Name)

Return Value

Result is the group identifier for the open group; this group identifier should be closed by calling H5G_CLOSE when it is no longer needed.

Arguments

Loc_id

An integer giving the identifier of the file or group.

Name

A string giving the name of the new group.

Keywords

None

Example

See the example under H5F_CREATE.

Version History

6.2

Introduced

See Also

H5G_CLOSE