diff options
Diffstat (limited to 'examples')
-rw-r--r-- | examples/h5_attribute.c | 2 | ||||
-rw-r--r-- | examples/h5_compound.c | 2 | ||||
-rw-r--r-- | examples/h5_extend_write.c | 2 | ||||
-rw-r--r-- | examples/h5_read.c | 4 |
4 files changed, 5 insertions, 5 deletions
diff --git a/examples/h5_attribute.c b/examples/h5_attribute.c index d218de5..6cc1c9a 100644 --- a/examples/h5_attribute.c +++ b/examples/h5_attribute.c @@ -126,7 +126,7 @@ main (void) ret = H5Awrite(attr3, atype, string); /* - * Close attribute and file datapsaces. + * Close attribute and file dataspaces. */ ret = H5Sclose(aid1); ret = H5Sclose(aid2); diff --git a/examples/h5_compound.c b/examples/h5_compound.c index 00cfe34..4bb4ad1 100644 --- a/examples/h5_compound.c +++ b/examples/h5_compound.c @@ -22,7 +22,7 @@ main(void) double c; } s1_t; s1_t s1[LENGTH]; - hid_t s1_tid; /* File datatype hadle */ + hid_t s1_tid; /* File datatype identifier */ /* Second structure (subset of s1_t) and dataset*/ typedef struct s2_t { diff --git a/examples/h5_extend_write.c b/examples/h5_extend_write.c index af061bc..c6aa37c 100644 --- a/examples/h5_extend_write.c +++ b/examples/h5_extend_write.c @@ -45,7 +45,7 @@ main (void) {3, 3} }; /* - * Create the data space with ulimited dimensions. + * Create the data space with unlimited dimensions. */ dataspace = H5Screate_simple(RANK, dims, maxdims); diff --git a/examples/h5_read.c b/examples/h5_read.c index c5b675f..31cb882 100644 --- a/examples/h5_read.c +++ b/examples/h5_read.c @@ -1,7 +1,7 @@ /* * This example reads hyperslab from the SDS.h5 file * created by h5_write.c program into two-dimensional - * plane of the tree-dimensional array. + * plane of the three-dimensional array. * Information about dataset in the SDS.h5 file is obtained. */ @@ -74,7 +74,7 @@ main (void) (unsigned long)(dims_out[0]), (unsigned long)(dims_out[1])); /* - * Define hyperslab in the datatset. + * Define hyperslab in the dataset. */ offset[0] = 1; offset[1] = 2; |