summaryrefslogtreecommitdiffstats
path: root/testpar/t_pflush1.c
diff options
context:
space:
mode:
authorDana Robinson <43805+derobins@users.noreply.github.com>2023-06-29 15:19:31 (GMT)
committerGitHub <noreply@github.com>2023-06-29 15:19:31 (GMT)
commitfd56a593b7928da636b2494b25cd7478fed78c29 (patch)
treeb815098d8bcf67f4290d3ca74132ce793503b94e /testpar/t_pflush1.c
parent8aef67f0ae3e037df22c5319eb2eac8b95521b19 (diff)
downloadhdf5-fd56a593b7928da636b2494b25cd7478fed78c29.zip
hdf5-fd56a593b7928da636b2494b25cd7478fed78c29.tar.gz
hdf5-fd56a593b7928da636b2494b25cd7478fed78c29.tar.bz2
Remove HD from C std lib file ops (#3206)
* HDfclose * HDferror * HDfeof * HDfflush * HDfopen * HDfread * HDfwrite
Diffstat (limited to 'testpar/t_pflush1.c')
-rw-r--r--testpar/t_pflush1.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/testpar/t_pflush1.c b/testpar/t_pflush1.c
index 774087f..cbe9835 100644
--- a/testpar/t_pflush1.c
+++ b/testpar/t_pflush1.c
@@ -169,8 +169,8 @@ main(int argc, char *argv[])
if (mpi_rank == 0)
PASSED();
- HDfflush(stdout);
- HDfflush(stderr);
+ fflush(stdout);
+ fflush(stderr);
/* Some systems like AIX do not like files not being closed when MPI_Finalize
* is called. So, we need to get the MPI file handles, close them by hand.
@@ -191,8 +191,8 @@ main(int argc, char *argv[])
if (MPI_File_close(mpifh_p) != MPI_SUCCESS)
goto error;
- HDfflush(stdout);
- HDfflush(stderr);
+ fflush(stdout);
+ fflush(stderr);
if (data_g) {
free(data_g);
@@ -210,11 +210,11 @@ main(int argc, char *argv[])
_exit(EXIT_FAILURE);
error:
- HDfflush(stdout);
- HDfflush(stderr);
+ fflush(stdout);
+ fflush(stderr);
printf("*** ERROR ***\n");
printf("THERE WAS A REAL ERROR IN t_pflush1.\n");
- HDfflush(stdout);
+ fflush(stdout);
if (data_g)
free(data_g);