Page tree

The license could not be verified: License Certificate has expired!

 

JAVA

FORTRAN

C++

C

 

Link

H5PT_FREE_VLEN_BUFF

Releases memory allocated in the process of reading variable-length packets.

Procedure:

H5PT_FREE_VLEN_BUFF(table_id, bufflen, buff)

Signature:

herr_t H5PTfree_vlen_buff(hid_t table_id, hsize_t bufflen, void * buff)

Parameters:

hid_t table_id

    IN: Packet table whose memory should be freed.

hsize_t bufflen

    IN: Size of buff.

void * buff

    IN: Buffer that was used to read in variable-length packets.

Description:

When variable-length packets are read, memory is automatically allocated to hold them, and must be freed. H5PTfree_vlen_buff frees this memory, and should be called whenever packets are read from a variable-length packet table. 

Returns:

Returns a non-negative value on success or a negative value on error.

Example:

Coming Soon!

History:
ReleaseChange
1.10.0 and 1.8.17    Function re-introduced. Function had been removed in 1.8.3.

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