summaryrefslogtreecommitdiffstats
path: root/doxygen/examples/hello_hdf5.c
blob: f07809002ffae63ecee114d6d3b415c8b52f6c45 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#include "hdf5.h"

int
main(void)
{
    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;
}