16 __label__ fail_attr, fail_aspace, fail_fapl, fail_file;
17 hid_t fapl, file, aspace, attr;
20 ret_val = EXIT_FAILURE;
23#if H5_VERSION_GE(1, 8, 0)
26#error Only HDF5 1.8.x and later supported.
28 ret_val = EXIT_FAILURE;
32 ret_val = EXIT_FAILURE;
37 ret_val = EXIT_FAILURE;
41 ret_val = EXIT_FAILURE;
@ H5F_LIBVER_LATEST
Definition: H5Fpublic.h:195
#define H5F_ACC_TRUNC
Definition: H5Fpublic.h:90
int hid_t
Definition: H5Ipublic.h:60
#define H5P_FILE_ACCESS
Definition: H5Ppublic.h:215
#define H5P_DEFAULT
Definition: H5Ppublic.h:255
unsigned long long hsize_t
Definition: H5public.h:334
herr_t H5Pset_libver_bounds(hid_t plist_id, H5F_libver_t low, H5F_libver_t high)
Controls the range of library release versions used when creating objects in a file.
herr_t H5Pclose(hid_t plist_id)
Terminates access to a property list.
hid_t H5Pcreate(hid_t cls_id)
Creates a new property list as an instance of a property list class.
#define H5Acreate
Definition: H5version.h:156
herr_t H5Aclose(hid_t attr_id)
Closes the specified attribute.
herr_t H5Fclose(hid_t file_id)
Terminates access to an HDF5 file.
hid_t H5Fcreate(const char *filename, unsigned flags, hid_t fcpl_id, hid_t fapl_id)
Creates an HDF5 file.
herr_t H5Sclose(hid_t space_id)
Releases and terminates access to a dataspace.
hid_t H5Screate_simple(int rank, const hsize_t dims[], const hsize_t maxdims[])
Creates a new simple dataspace and opens it for access.
#define H5T_IEEE_F32LE
Definition: H5Tpublic.h:413