mirror of
https://github.com/HDFGroup/hdf5.git
synced 2024-12-27 08:01:04 +08:00
5ff09ae971
* 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
14 lines
256 B
C
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;
|
|
}
|