summaryrefslogtreecommitdiffstats
path: root/test/twriteorder.c
diff options
context:
space:
mode:
authorDana Robinson <43805+derobins@users.noreply.github.com>2023-06-29 15:18:01 (GMT)
committerGitHub <noreply@github.com>2023-06-29 15:18:01 (GMT)
commit9f430d15b004495d17826840ef1a4f281215c7f9 (patch)
treeeddd0bd281a80adb336403582bd236c6a24b0dc6 /test/twriteorder.c
parenta5f1fb01b9ef867cf94158cdb42ffb1d46bae916 (diff)
downloadhdf5-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 'test/twriteorder.c')
-rw-r--r--test/twriteorder.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/twriteorder.c b/test/twriteorder.c
index 9026bd1..9483a58 100644
--- a/test/twriteorder.c
+++ b/test/twriteorder.c
@@ -136,7 +136,7 @@ parse_option(int argc, char *const argv[])
switch (c) {
case 'h':
usage(progname_g);
- HDexit(EXIT_SUCCESS);
+ exit(EXIT_SUCCESS);
break;
case 'b': /* number of planes to write/read */
if ((blocksize_g = atoi(optarg)) <= 0) {
@@ -395,12 +395,12 @@ main(int argc, char *argv[])
printf("%d: launch reader process\n", mypid);
if (read_wo_file() < 0) {
fprintf(stderr, "read_wo_file encountered error\n");
- HDexit(EXIT_FAILURE);
+ exit(EXIT_FAILURE);
}
/* Reader is done. Clean up by removing the data file */
HDremove(DATAFILE);
- HDexit(EXIT_SUCCESS);
+ exit(EXIT_SUCCESS);
}
}