diff options
author | Dana Robinson <43805+derobins@users.noreply.github.com> | 2023-06-29 15:18:01 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-29 15:18:01 (GMT) |
commit | 9f430d15b004495d17826840ef1a4f281215c7f9 (patch) | |
tree | eddd0bd281a80adb336403582bd236c6a24b0dc6 /tools/test/misc/clear_open_chk.c | |
parent | a5f1fb01b9ef867cf94158cdb42ffb1d46bae916 (diff) | |
download | hdf5-9f430d15b004495d17826840ef1a4f281215c7f9.zip hdf5-9f430d15b004495d17826840ef1a4f281215c7f9.tar.gz hdf5-9f430d15b004495d17826840ef1a4f281215c7f9.tar.bz2 |
Rename HDexit() and related to exit(), etc. (#3202)
* HDatexit
* HDexit
* HD_exit
Diffstat (limited to 'tools/test/misc/clear_open_chk.c')
-rw-r--r-- | tools/test/misc/clear_open_chk.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/test/misc/clear_open_chk.c b/tools/test/misc/clear_open_chk.c index b57eb4a..ec86ec4 100644 --- a/tools/test/misc/clear_open_chk.c +++ b/tools/test/misc/clear_open_chk.c @@ -45,7 +45,7 @@ main(int argc, char *argv[]) /* Check the # of arguments */ if (argc != 2) { usage(); - HDexit(EXIT_FAILURE); + exit(EXIT_FAILURE); } /* Get the file name */ @@ -55,16 +55,16 @@ main(int argc, char *argv[]) if ((fid = h5tools_fopen(fname, H5F_ACC_RDONLY, H5P_DEFAULT, FALSE, NULL, (size_t)0)) < 0) { fprintf(stderr, "clear_open_chk: unable to open the file\n"); free(fname); - HDexit(EXIT_FAILURE); + exit(EXIT_FAILURE); } free(fname); /* Close the file */ if (H5Fclose(fid) < 0) { fprintf(stderr, "clear_open_chk: cannot close the file\n"); - HDexit(EXIT_FAILURE); + exit(EXIT_FAILURE); } /* Return success */ - HDexit(EXIT_SUCCESS); + exit(EXIT_SUCCESS); } /* main() */ |