Rate This Document
Findability
Accuracy
Completeness
Readability

Copying an Existing Data Type

Function Syntax

Copy an existing data type.

hid_t H5Tcopy(hid_t datatype)

Parameters

Parameter

Description

Value Range

Input/Output

datatype

Identifier of the data type to copy, which can be a data type identifier, a predefined data type (defined in H5Tpublic.h), or a dataset identifier

Integer

Input

Return Value

  • Success: data type identifier
  • Failure: negative value