Determines whether a packet table contains variable-length or fixed-length packets.
Procedure:
Signature:
herr_t H5PTis_varlen(hid_t table_id)
Parameters:
hid_t table_id
IN: Packet table to query.
Description:
H5PTis_varlen returns 1 (TRUE) if table_id is a packet table containing variable-length records. It returns 0 (FALSE) if table_id is a packet table containing fixed-length records. If table_id is not a packet table, a negative value is returned.
Returns:
Returns 1 for a variable-length packet table, 0 for fixed-length, or a negative value on error.
Example:
History:
Release | Change |
1.10.0 and 1.8.17 | Function re-introduced. Function had been removed in 1.8.3. |
--- Last Modified: December 04, 2017 | 07:24 AM