summaryrefslogtreecommitdiffstats
path: root/test/chunk_info.c
diff options
context:
space:
mode:
authorPedro Vicente Nunes <pvn@hdfgroup.org>2008-04-08 19:20:38 (GMT)
committerPedro Vicente Nunes <pvn@hdfgroup.org>2008-04-08 19:20:38 (GMT)
commit79eec9ff307233dd6275ba08f0a33f1b9e3f2caa (patch)
tree8fd832a41578f1566e421c679db79ef456e483f8 /test/chunk_info.c
parent17fd32c3c9d7eb7a7811a5932582135149c3641a (diff)
downloadhdf5-79eec9ff307233dd6275ba08f0a33f1b9e3f2caa.zip
hdf5-79eec9ff307233dd6275ba08f0a33f1b9e3f2caa.tar.gz
hdf5-79eec9ff307233dd6275ba08f0a33f1b9e3f2caa.tar.bz2
[svn-r14818] updated comments
Diffstat (limited to 'test/chunk_info.c')
-rw-r--r--test/chunk_info.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/chunk_info.c b/test/chunk_info.c
index ea09f10..48db292 100644
--- a/test/chunk_info.c
+++ b/test/chunk_info.c
@@ -18,7 +18,7 @@
* April 7, 2008
*
* Purpose: Tests the H5Dget_chunk_info API function
- * This program writes a 4x4 dataset did by iterating on 2x2 chunks
+ * This program writes a 4x4 dataset by iterating on 2x2 chunks
* at a time
*/
@@ -36,7 +36,7 @@ int main( void )
{
hid_t fid; /* file ID */
- hid_t did; /* did ID */
+ hid_t did; /* dataset ID */
hid_t f_sid; /* file space ID */
hid_t m_sid; /* memory space ID */
hid_t pid; /* property list ID */
@@ -65,12 +65,12 @@ int main( void )
*-------------------------------------------------------------------------
*/
- /* modify did creation properties, i.e. enable chunking. */
+ /* modify dataset creation properties, i.e. enable chunking. */
if ((pid = H5Pcreate (H5P_DATASET_CREATE)) < 0) TEST_ERROR;
if (H5Pset_chunk(pid, RANK, chunk_dims) < 0) TEST_ERROR;
if (H5Pset_fill_value(pid, H5T_NATIVE_INT, &fillvalue) < 0) TEST_ERROR;
- /* create a new did */
+ /* create a new dataset */
if((did = H5Dcreate2(fid , DATASETNAME, H5T_NATIVE_INT, f_sid, H5P_DEFAULT, pid, H5P_DEFAULT)) < 0) TEST_ERROR;