diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 1998-10-26 21:18:54 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 1998-10-26 21:18:54 (GMT) |
commit | 69d3cf72b3498e4f6ee95425881cf227f7f71c93 (patch) | |
tree | 686a04bfbdced05835ec3d075a367c95c96cab3f /src/H5Fmpio.c | |
parent | 4d5f1b72de9f2439904975da411dea4f8095fe7b (diff) | |
download | hdf5-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/H5Fmpio.c')
-rw-r--r-- | src/H5Fmpio.c | 28 |
1 files changed, 8 insertions, 20 deletions
diff --git a/src/H5Fmpio.c b/src/H5Fmpio.c index aacc59d..b47188c 100644 --- a/src/H5Fmpio.c +++ b/src/H5Fmpio.c @@ -405,9 +405,7 @@ H5F_mpio_open(const char *name, const H5F_access_t *access_parms, uintn flags, * Errors: * IO CLOSEERROR Fclose failed. * - * Return: Success: SUCCEED - * - * Failure: FAIL + * Return: Non-negative on success/Negative on failure * * Programmer: * January 30, 1998 @@ -467,8 +465,7 @@ H5F_mpio_close(H5F_low_t *lf, const H5F_access_t __unused__ *access_parms) * IO READERROR MPI_File_read_at failed. * IO READERROR MPI_Get_count failed * - * Return: Success: SUCCEED - * Failure: FAIL + * Return: Non-negative on success/Negative on failure * (use_types and old_use_types in the access params are altered) * * Programmer: rky 980130 @@ -708,8 +705,7 @@ H5F_mpio_tas_allsame(H5F_low_t *lf, hbool_t newval ) * Errors: * IO WRITEERROR MPI_File_write_at failed. * - * Return: Success: SUCCEED - * Failure: FAIL + * Return: Non-negative on success/Negative on failure * (use_types and old_use_types in the access params are altered) * * Programmer: @@ -901,9 +897,7 @@ H5F_mpio_write(H5F_low_t *lf, H5F_access_t *access_parms, * Errors: * IO WRITEERROR MPI_File_sync failed. * - * Return: Success: SUCCEED - * - * Failure: FAIL + * Return: Non-negative on success/Negative on failure * * Programmer: * January 30, 1998 @@ -947,10 +941,8 @@ H5F_mpio_flush(H5F_low_t *lf, const H5F_access_t __unused__ *access_parms) * * Problems and limitations: * - * Return: Success: return value is SUCCEED - * and the haddr_t contains the converted value - * - * Failure: return value is FAIL, the haddr_t is undefined + * Return: Non-negative on success (the haddr_t contains the converted + * value) /Negative on failure (the haddr_t is undefined) * * Programmer: * January 30, 1998 @@ -978,12 +970,8 @@ H5F_MPIOff_to_haddr( MPI_Offset mpi_off, haddr_t *addr ) * * Problems and limitations: * - * Return: Success: return value is SUCCEED - * and the MPIOffset contains the converted - * value. - * - * Failure: return value is FAIL, the MPIOffset is - * undefined. + * Return: Non-negative on success (the MPIOffset contains the converted + * value.) /Negative on failure (the MPIOffset is undefined.) * * Programmer: * January 30, 1998 |