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

# H5T_MEMTYPE

The H5T_MEMTYPE function returns the native memory datatype corresponding to a file datatype.

Note: This function is not part of the standard HDF5 interface, but is provided as a programming convenience.

## Syntax

Result = H5T_MEMTYPE(Datatype_id)

## Return Value

The Result gives the datatype identifier. If the file datatype is not immutable, then the memory datatype identifier should be closed using H5T_CLOSE.

## Arguments

### Datatype_id

An integer giving the file datatype identifier for which to return the memory datatype.

## Keywords

None

## Version History

5.6 | Introduced

## See Also

H5T_IDLTYPE