H5Pget_file_space
(
hid_t fcpl_id
,
H5F_file_space_type_t *strategy
,
hsize_t *threshold
)
H5Pget_file_space
provides the means for applications to manage an HDF5 file’s file
space to meet specific needs.
H5Pget_file_space
retrieves the file space management strategy and/or
the free-space threshold specified for a file.
The first parameter, fcpl_id
, is the file creation
property list identifier associated with an HDF5 file.
If strategy
is non-null,
this routine will retrieve the existing file space management strategy
in use for the file and store it in strategy
.
If threshold
is non-null,
this routine will retrieve the existing free-space section threshold
used by the library’s free space managers for the file and store it
in threshold
.
Any pointer parameters which are passed as NULL
are not queried.
hid_t fcpl_id
| IN: The file creation property list identifier. | |
H5F_file_space_type_t *strategy
| ||
IN/OUT: The file space management strategy currently in use
for the file.
Valid values for | ||
hsize_t *threshold
| IN/OUT: The current free-space section threshold. |
fcpl_id
.
fcpl_id
.
fcpl
in the parameter strategy
.
It also retrieves the free-space section threshold in use for
the file in the parameter threshold
.
H5Pget_file_space(fcpl, &strategy, &threshold);
fcpl
in the parameter
strategy
.
Since the second parameter is null, this routine does not retrieve
the free-space section threshold in use for the file.
H5Pset_file_space(fcpl, &strategy, NULL);
H5Pset_file_space
Release | Change |
1.10.0 | C function introduced in this release. |