summaryrefslogtreecommitdiffstats
path: root/test/twriteorder.c
diff options
context:
space:
mode:
authorDana Robinson <43805+derobins@users.noreply.github.com>2023-06-28 04:35:55 (GMT)
committerGitHub <noreply@github.com>2023-06-28 04:35:55 (GMT)
commit7d1fdb2d277530eec6d1c8ff937634e7028892aa (patch)
treed5b832cbc566c7076b6926ce5e549bfe359fae1b /test/twriteorder.c
parentbadc6098f726d644cbe6e7bcb27f58e5ba6d5d34 (diff)
downloadhdf5-7d1fdb2d277530eec6d1c8ff937634e7028892aa.zip
hdf5-7d1fdb2d277530eec6d1c8ff937634e7028892aa.tar.gz
hdf5-7d1fdb2d277530eec6d1c8ff937634e7028892aa.tar.bz2
Remove HD from fork/exec*/wait* (#3190)
These are not C99 but are hidden behind ifdefs and are highly unlikely to ever have non-POSIX equivalents.
Diffstat (limited to 'test/twriteorder.c')
-rw-r--r--test/twriteorder.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/twriteorder.c b/test/twriteorder.c
index 165abcf..dd608c7 100644
--- a/test/twriteorder.c
+++ b/test/twriteorder.c
@@ -379,7 +379,7 @@ main(int argc, char *argv[])
if (launch_g == UC_READWRITE) {
/* fork process */
- if ((childpid = HDfork()) < 0) {
+ if ((childpid = fork()) < 0) {
HDperror("fork");
Hgoto_error(1);
};
@@ -417,7 +417,7 @@ main(int argc, char *argv[])
/* If readwrite, collect exit code of child process */
/* ================================================ */
if (launch_g == UC_READWRITE) {
- if ((tmppid = HDwaitpid(childpid, &child_status, child_wait_option)) < 0) {
+ if ((tmppid = waitpid(childpid, &child_status, child_wait_option)) < 0) {
HDperror("waitpid");
Hgoto_error(1);
}