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 /test/swmr_addrem_writer.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 'test/swmr_addrem_writer.c')
-rw-r--r-- | test/swmr_addrem_writer.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/test/swmr_addrem_writer.c b/test/swmr_addrem_writer.c index 0d9bde4..7b6e78c 100644 --- a/test/swmr_addrem_writer.c +++ b/test/swmr_addrem_writer.c @@ -278,7 +278,7 @@ usage(void) printf("Defaults to verbose (no '-q' given), flushing every 1000 operations\n"); printf("('-f 1000'), and will generate a random seed (no -r given).\n"); printf("\n"); - HDexit(EXIT_FAILURE); + exit(EXIT_FAILURE); } int @@ -378,7 +378,7 @@ main(int argc, char *argv[]) /* Open file skeleton */ if ((fid = open_skeleton(FILENAME, verbose)) < 0) { fprintf(stderr, "Error opening skeleton file!\n"); - HDexit(EXIT_FAILURE); + exit(EXIT_FAILURE); } /* end if */ /* Send a message to indicate "H5Fopen" is complete--releasing the file lock */ @@ -391,7 +391,7 @@ main(int argc, char *argv[]) /* Grow and shrink datasets */ if (addrem_records(fid, verbose, (unsigned long)nops, (unsigned long)flush_count) < 0) { fprintf(stderr, "Error adding and removing records from datasets!\n"); - HDexit(EXIT_FAILURE); + exit(EXIT_FAILURE); } /* end if */ /* Emit informational message */ @@ -401,7 +401,7 @@ main(int argc, char *argv[]) /* Clean up the symbols */ if (shutdown_symbols() < 0) { fprintf(stderr, "Error releasing symbols!\n"); - HDexit(EXIT_FAILURE); + exit(EXIT_FAILURE); } /* end if */ /* Emit informational message */ @@ -411,7 +411,7 @@ main(int argc, char *argv[]) /* Close objects opened */ if (H5Fclose(fid) < 0) { fprintf(stderr, "Error closing file!\n"); - HDexit(EXIT_FAILURE); + exit(EXIT_FAILURE); } /* end if */ return 0; |