Page tree

 

JAVA

FORTRAN

C++

C

 

Link

H5T_LOCK

Locks a datatype.

Procedure:

H5T_LOCK(dtype_id)

Signature:

herr_t H5Tlock( hid_t dtype_id )

Parameters:
hid_t dtype_id    IN: Identifier of datatype to lock.

Description:

H5Tlock locks the datatype specified by the dtype_id identifier, making it read-only and non-destructible. This is normally done by the library for predefined datatypes so the application does not inadvertently change or delete a predefined type. Once a datatype is locked it can never be unlocked.

Returns:

Returns a non-negative value if successful; otherwise returns a negative value.

Example:

Coming Soon!

--- Last Modified: December 04, 2017 | 07:02 AM