hdf5/doxygen/examples/hello_hdf5.c
Quincey Koziol 5ff09ae971
Basic alignment with async branch (#115)
* Basic alignment with async branch - trivial changes to reduce clutter in overall diff.

* Update minor error code to reflect change within library

* Update the error output to match library
2020-11-23 10:18:26 -06:00

14 lines
256 B
C

#include "hdf5.h"
int
main()
{
herr_t retval;
unsigned majnum, minnum, relnum;
if ((retval = H5get_libversion(&majnum, &minnum, &relnum)) >= 0) {
printf("Hello, HDF5 %d.%d.%d!\n", majnum, minnum, relnum);
}
return retval;
}