summaryrefslogtreecommitdiffstats
path: root/src/H5Fsplit.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/H5Fsplit.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/H5Fsplit.c')
-rw-r--r--src/H5Fsplit.c25
1 files changed, 8 insertions, 17 deletions
diff --git a/src/H5Fsplit.c b/src/H5Fsplit.c
index 25ef2d5..b3fcc10 100644
--- a/src/H5Fsplit.c
+++ b/src/H5Fsplit.c
@@ -168,9 +168,7 @@ H5F_split_open(const char *name, const H5F_access_t *access_parms,
*
* Purpose: Closes a split file.
*
- * Return: Success: SUCCEED
- *
- * Failure: FAIL
+ * Return: Non-negative on success/Negative on failure
*
* Programmer: Robb Matzke
* Monday, November 13, 1997
@@ -201,9 +199,7 @@ H5F_split_close(H5F_low_t *lf, const H5F_access_t *access_parms)
* data/raw data boundary. Reading past the end of a file
* returns zeros instead of failing.
*
- * Return: Success: SUCCEED
- *
- * Failure: FAIL
+ * Return: Non-negative on success/Negative on failure
*
* Programmer: Robb Matzke
* Monday, November 13, 1997
@@ -253,9 +249,7 @@ H5F_split_read(H5F_low_t *lf, const H5F_access_t *access_parms,
*
* Purpose: Writes BUF to either the meta data file or the raw data file.
*
- * Return: Success: SUCCEED
- *
- * Failure: FAIL
+ * Return: Non-negative on success/Negative on failure
*
* Programmer: Robb Matzke
* Monday, November 13, 1997
@@ -304,9 +298,7 @@ H5F_split_write(H5F_low_t *lf, const H5F_access_t *access_parms,
*
* Purpose: Flushes all data to disk.
*
- * Return: Success: SUCCEED
- *
- * Failure: FAIL
+ * Return: Non-negative on success/Negative on failure
*
* Programmer: Robb Matzke
* Monday, November 13, 1997
@@ -413,10 +405,9 @@ H5F_split_access(const char *name, const H5F_access_t *access_parms,
* Purpose: Allocates memory from the end of the meta data file or raw
* data file.
*
- * Return: Success: SUCCEED with the address of the allocated
- * memory returned through the ADDR argument.
- *
- * Failure: FAIL
+ * Return: Non-negative on success (with the address of the allocated
+ * memory returned through the ADDR argument.) /Negative
+ * on failure
*
* Programmer: Robb Matzke
* Thursday, November 13, 1997
@@ -476,7 +467,7 @@ H5F_split_extend(H5F_low_t *lf, const H5F_access_t *access_parms, intn op,
* contain the address within the free block
* where the request starts.
*
- * Failure: FAIL
+ * Failure: Negative
*
* Programmer: Robb Matzke
* Tuesday, June 9, 1998