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/src/h5perf | |
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/src/h5perf')
-rw-r--r-- | tools/src/h5perf/pio_perf.c | 8 | ||||
-rw-r--r-- | tools/src/h5perf/sio_perf.c | 10 |
2 files changed, 9 insertions, 9 deletions
diff --git a/tools/src/h5perf/pio_perf.c b/tools/src/h5perf/pio_perf.c index c08b0d1..4682f2d 100644 --- a/tools/src/h5perf/pio_perf.c +++ b/tools/src/h5perf/pio_perf.c @@ -1306,7 +1306,7 @@ parse_command_line(int argc, const char *const *argv) } else { fprintf(stderr, "pio_perf: invalid --api option %s\n", buf); - HDexit(EXIT_FAILURE); + exit(EXIT_FAILURE); } if (*end == '\0') @@ -1354,7 +1354,7 @@ parse_command_line(int argc, const char *const *argv) for (j = 0; j < 10 && buf[j] != '\0'; ++j) if (!isdigit(buf[j])) { fprintf(stderr, "pio_perf: invalid --debug option %s\n", buf); - HDexit(EXIT_FAILURE); + exit(EXIT_FAILURE); } pio_debug_level = atoi(buf); @@ -1380,7 +1380,7 @@ parse_command_line(int argc, const char *const *argv) break; default: fprintf(stderr, "pio_perf: invalid --debug option %s\n", buf); - HDexit(EXIT_FAILURE); + exit(EXIT_FAILURE); } } @@ -1524,7 +1524,7 @@ parse_size_directive(const char *size) break; default: fprintf(stderr, "Illegal size specifier '%c'\n", *endptr); - HDexit(EXIT_FAILURE); + exit(EXIT_FAILURE); } } diff --git a/tools/src/h5perf/sio_perf.c b/tools/src/h5perf/sio_perf.c index 2268237..3aad24e 100644 --- a/tools/src/h5perf/sio_perf.c +++ b/tools/src/h5perf/sio_perf.c @@ -873,7 +873,7 @@ parse_command_line(int argc, const char *const *argv) } else { fprintf(stderr, "sio_perf: invalid --api option %s\n", buf); - HDexit(EXIT_FAILURE); + exit(EXIT_FAILURE); } if (*end == '\0') @@ -937,7 +937,7 @@ parse_command_line(int argc, const char *const *argv) for (j = 0; j < 10 && buf[j] != '\0'; ++j) if (!HDisdigit(buf[j])) { fprintf(stderr, "sio_perf: invalid --debug option %s\n", buf); - HDexit(EXIT_FAILURE); + exit(EXIT_FAILURE); } sio_debug_level = atoi(buf); @@ -963,7 +963,7 @@ parse_command_line(int argc, const char *const *argv) break; default: fprintf(stderr, "sio_perf: invalid --debug option %s\n", buf); - HDexit(EXIT_FAILURE); + exit(EXIT_FAILURE); } } @@ -1035,7 +1035,7 @@ parse_command_line(int argc, const char *const *argv) } else { fprintf(stderr, "sio_perf: invalid --api option %s\n", H5_optarg); - HDexit(EXIT_FAILURE); + exit(EXIT_FAILURE); } break; case 'w': @@ -1199,7 +1199,7 @@ parse_size_directive(const char *size) default: fprintf(stderr, "Illegal size specifier '%c'\n", *endptr); - HDexit(EXIT_FAILURE); + exit(EXIT_FAILURE); } } |