summaryrefslogtreecommitdiffstats
path: root/examples/h5dsm_group_create.c
diff options
context:
space:
mode:
authorNeil Fortner <nfortne2@hdfgroup.org>2016-12-12 22:41:39 (GMT)
committerNeil Fortner <nfortne2@hdfgroup.org>2016-12-12 22:41:39 (GMT)
commit3889eeb5c86376fa677d48c8156584435f5cea66 (patch)
tree4e4d4b5850b8d3f6a4a409f3d64ec512f70b5ec3 /examples/h5dsm_group_create.c
parentbbcb31845f506a167337c432c062a01936fe7118 (diff)
downloadhdf5-3889eeb5c86376fa677d48c8156584435f5cea66.zip
hdf5-3889eeb5c86376fa677d48c8156584435f5cea66.tar.gz
hdf5-3889eeb5c86376fa677d48c8156584435f5cea66.tar.bz2
Add transaction number printing for write examples, optional transaction
number arguments for read examples. Rework and fix bug in h5dsm_dset_wpartial.c. Not tested.
Diffstat (limited to 'examples/h5dsm_group_create.c')
-rw-r--r--examples/h5dsm_group_create.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/h5dsm_group_create.c b/examples/h5dsm_group_create.c
index c172ac2..ad6e3da 100644
--- a/examples/h5dsm_group_create.c
+++ b/examples/h5dsm_group_create.c
@@ -34,6 +34,8 @@ int main(int argc, char *argv[]) {
if((trans = H5TRcreate(file, trans_num + 1)) < 0)
ERROR;
+ printf("Creating dataset - transaction number = %llu\n", (long long unsigned)(trans_num + 1));
+
/* Create group */
if((grp = H5Gcreate_ff(file, argv[3], H5P_DEFAULT, H5P_DEFAULT, H5P_DEFAULT, trans)) < 0)
ERROR;