summaryrefslogtreecommitdiffstats
path: root/test/filenotclosed.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/filenotclosed.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/filenotclosed.c')
-rw-r--r--test/filenotclosed.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/filenotclosed.c b/test/filenotclosed.c
index 7f4d5d7..a2b0bdb 100644
--- a/test/filenotclosed.c
+++ b/test/filenotclosed.c
@@ -34,7 +34,7 @@
static void
catch_signal(int H5_ATTR_UNUSED signo)
{
- HDexit(EXIT_FAILURE);
+ exit(EXIT_FAILURE);
} /* catch_signal() */
/*-------------------------------------------------------------------------
@@ -80,7 +80,7 @@ main(void)
if (!contig_addr_vfd) {
SKIPPED();
HDputs(" Temporary skipped for a spilt/multi driver");
- HDexit(EXIT_SUCCESS);
+ exit(EXIT_SUCCESS);
}
h5_reset();
@@ -136,9 +136,9 @@ main(void)
/* The file is not closed. */
/* The library will call H5_term_library to shut down the library. */
- HDexit(EXIT_SUCCESS);
+ exit(EXIT_SUCCESS);
error:
HDputs("*** TEST FAILED ***");
- HDexit(EXIT_FAILURE);
+ exit(EXIT_FAILURE);
}