Name: H5Gcreate2
Signature:
hid_t H5Gcreate2( hid_t loc_id, const char *name, hid_t lcpl_id, hid_t gcpl_id, hid_t gapl_id )

Purpose:
Creates a new empty group and links it into the file.

Description:
H5Gcreate2 creates a new group named name at the location specified by loc_id with the group creation and access properties spceified in gcpl_id and gapl_id, respectively.

loc_id may be a file identifier, or a group identifier within that file. name may be either an absolute path in the file or a relative path from loc_id naming the dataset.

The link creation property list, lcpl_id, governs creation of the link(s) by which the new dataset is accessed and the creation of any intermediate groups that may be missing.

To conserve and release resources, the group should be closed when access is no longer required.

Parameters:
hid_t loc_id IN: File or group identifier
const char *name     IN: Absolute or relative name of the new group
hid_t lcpl_id IN: Property list for link creation
hid_t gcpl_id IN: Property list for group creation
hid_t gapl_id IN: Property list for group access
(No group access properties have been implemented at this time; use H5P_DEFAULT.)

Returns:
Returns a group identifier if successful; otherwise returns a negative value.

Fortran90 Interface: See listing under H5Gcreate.

History:
Release     C
1.8.0 Function introduced in this release.