hdf5_test programs which illustrate the use of HDF5, a file format, library, and utility programs for efficiently managaing large and complex datasets.
The computer code and data files described and made available on this web page are distributed under the GNU LGPL license.
hdf5_test is available in a C version and a C++ version and a FORTRAN90 version and a Python version.
You can go up one level to the C source codes.