The H5T_COMMIT procedure commits a transient datatype to a file, creating a new named datatype.

Note: A named datatype can be shared by objects within the same HDF5 file, but not by objects in other files.

Example


See the example under H5F_CREATE.

Syntax


H5T_COMMIT, Loc_id, Name, Datatype_id

Arguments


Loc_id

An integer giving the identifier of a file or group.

Name

The name of the new datatype.

Datatype_id

An integer giving the identifier of the datatype to commit.

Keywords


None

Version History


6.2

Introduced

See Also


H5T_COMMITTED, H5T_IDL_CREATE