summaryrefslogtreecommitdiffstats
path: root/src/H5Oname.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/H5Oname.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/H5Oname.c')
-rw-r--r--src/H5Oname.c14
1 files changed, 4 insertions, 10 deletions
diff --git a/src/H5Oname.c b/src/H5Oname.c
index 420e6e5..00527d6 100644
--- a/src/H5Oname.c
+++ b/src/H5Oname.c
@@ -98,9 +98,7 @@ H5O_name_decode(H5F_t __unused__ *f, const uint8 *p,
*
* Purpose: Encodes a name message.
*
- * Return: Success: SUCCEED
- *
- * Failure: FAIL
+ * Return: Non-negative on success/Negative on failure
*
* Programmer: Robb Matzke
* matzke@llnl.gov
@@ -177,7 +175,7 @@ H5O_name_copy(const void *_mesg, void *_dest)
*
* Return: Success: Message data size in bytes w/o alignment.
*
- * Failure: FAIL
+ * Failure: Negative
*
* Programmer: Robb Matzke
* matzke@llnl.gov
@@ -209,9 +207,7 @@ H5O_name_size(H5F_t __unused__ *f, const void *_mesg)
* Purpose: Frees internal pointers and resets the message to an
* initial state.
*
- * Return: Success: SUCCEED
- *
- * Failure: FAIL
+ * Return: Non-negative on success/Negative on failure
*
* Programmer: Robb Matzke
* matzke@llnl.gov
@@ -242,9 +238,7 @@ H5O_name_reset(void *_mesg)
*
* Purpose: Prints debugging info for the message.
*
- * Return: Success: SUCCEED
- *
- * Failure: FAIL
+ * Return: Non-negative on success/Negative on failure
*
* Programmer: Robb Matzke
* matzke@llnl.gov