summaryrefslogtreecommitdiffstats
path: root/doxygen/examples/hello_hdf5.c
blob: a37d39ff8085d9973e68596607c377d23fb09bab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#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;
}