summaryrefslogtreecommitdiffstats
path: root/test/use_append_mchunks.c
diff options
context:
space:
mode:
authorLarry Knox <lrknox@hdfgroup.org>2020-10-24 13:05:13 (GMT)
committerGitHub <noreply@github.com>2020-10-24 13:05:13 (GMT)
commit313a8c8546b3b975fba722b015c8c8269dd240cb (patch)
treeabbc9530d2a1460110e6b41af9de071deb66ead0 /test/use_append_mchunks.c
parent2c3cf8240f45508dea02cab08fa67c2a775cab58 (diff)
parent2ae59f1c6199c62d6efeb43f91924e06f1fd6248 (diff)
downloadhdf5-313a8c8546b3b975fba722b015c8c8269dd240cb.zip
hdf5-313a8c8546b3b975fba722b015c8c8269dd240cb.tar.gz
hdf5-313a8c8546b3b975fba722b015c8c8269dd240cb.tar.bz2
Merge pull request #59 from derobins/trivial/HDprefix
HD prefix updates in src/ and test/
Diffstat (limited to 'test/use_append_mchunks.c')
-rw-r--r--test/use_append_mchunks.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/use_append_mchunks.c b/test/use_append_mchunks.c
index 0b2c409..94adfb0 100644
--- a/test/use_append_mchunks.c
+++ b/test/use_append_mchunks.c
@@ -165,12 +165,12 @@ main(int argc, char *argv[])
/* Fork process */
/* ============ */
if (UC_opts.launch == UC_READWRITE) {
- if ((childpid = fork()) < 0) {
- perror("fork");
+ if ((childpid = HDfork()) < 0) {
+ HDperror("fork");
Hgoto_error(1);
}
}
- mypid = getpid();
+ mypid = HDgetpid();
/* ============= */
/* launch reader */
@@ -239,8 +239,8 @@ main(int argc, char *argv[])
/* If readwrite, collect exit code of child process */
/* ================================================ */
if (UC_opts.launch == UC_READWRITE) {
- if ((tmppid = waitpid(childpid, &child_status, child_wait_option)) < 0) {
- perror("waitpid");
+ if ((tmppid = HDwaitpid(childpid, &child_status, child_wait_option)) < 0) {
+ HDperror("waitpid");
Hgoto_error(1);
}