summaryrefslogtreecommitdiffstats
path: root/src/H5R.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>1998-10-26 21:18:54 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>1998-10-26 21:18:54 (GMT)
commit69d3cf72b3498e4f6ee95425881cf227f7f71c93 (patch)
tree686a04bfbdced05835ec3d075a367c95c96cab3f /src/H5R.c
parent4d5f1b72de9f2439904975da411dea4f8095fe7b (diff)
downloadhdf5-69d3cf72b3498e4f6ee95425881cf227f7f71c93.zip
hdf5-69d3cf72b3498e4f6ee95425881cf227f7f71c93.tar.gz
hdf5-69d3cf72b3498e4f6ee95425881cf227f7f71c93.tar.bz2
[svn-r797] Changed comments from returning "SUCCEED/FAIL" to "non-negative/negative"
and also fixed a few more explicit checks against FAIL.
Diffstat (limited to 'src/H5R.c')
-rw-r--r--src/H5R.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/H5R.c b/src/H5R.c
index 23733b8..4316adb 100644
--- a/src/H5R.c
+++ b/src/H5R.c
@@ -46,7 +46,7 @@ USAGE
herr_t H5R_init_interface()
RETURNS
- SUCCEED/FAIL
+ Non-negative on success/Negative on failure
DESCRIPTION
Initializes any interface-specific data or routines.
@@ -59,7 +59,7 @@ H5R_init_interface(void)
/* Initialize the atom group for the file IDs */
if ((ret_value = H5I_init_group(H5I_REFERENCE, H5I_REFID_HASHSIZE,
- H5R_RESERVED_ATOMS, (herr_t (*)(void *)) NULL)) != FAIL) {
+ H5R_RESERVED_ATOMS, (herr_t (*)(void *)) NULL)) >= 0) {
ret_value = H5_add_exit(&H5R_term_interface);
}
@@ -108,7 +108,7 @@ H5R_term_interface(void)
Region references.
RETURNS
- SUCCEED/FAIL
+ Non-negative on success/Negative on failure
DESCRIPTION
Creates a particular type of reference specified with REF_TYPE, in the
space pointed to by REF. The LOC_ID and NAME are used to locate the object
@@ -183,7 +183,7 @@ done:
Region references.
RETURNS
- SUCCEED/FAIL
+ Non-negative on success/Negative on failure
DESCRIPTION
Creates a particular type of reference specified with REF_TYPE, in the
space pointed to by REF. The LOC_ID and NAME are used to locate the object
@@ -239,7 +239,7 @@ done:
void *ref; IN: Reference to open.
RETURNS
- Valid ID on success, FAIL on failure
+ Valid ID on success, Negative on failure
DESCRIPTION
Given a reference to some object, open that object and return an ID for
that object.
@@ -303,7 +303,7 @@ done:
void *ref; IN: Reference to open.
RETURNS
- Valid ID on success, FAIL on failure
+ Valid ID on success, Negative on failure
DESCRIPTION
Given a reference to some object, open that object and return an ID for
that object.
@@ -384,7 +384,7 @@ done:
void *ref; IN: Reference to open.
RETURNS
- Valid ID on success, FAIL on failure
+ Valid ID on success, Negative on failure
DESCRIPTION
Given a reference to some object, creates a copy of the dataset pointed
to's dataspace and defines a selection in the copy which is the region