summaryrefslogtreecommitdiffstats
path: root/tools/src/h5jam
diff options
context:
space:
mode:
authorDana Robinson <43805+derobins@users.noreply.github.com>2023-06-28 15:31:32 (GMT)
committerGitHub <noreply@github.com>2023-06-28 15:31:32 (GMT)
commit187ea8a9ae1405b5b46ca47a32fb1fb9e2686c98 (patch)
treebaffa167d0796786241aef6b0ce76d4adec3b66e /tools/src/h5jam
parent7a44581a84778a1346a2fd5b6cca7d9db905a321 (diff)
downloadhdf5-187ea8a9ae1405b5b46ca47a32fb1fb9e2686c98.zip
hdf5-187ea8a9ae1405b5b46ca47a32fb1fb9e2686c98.tar.gz
hdf5-187ea8a9ae1405b5b46ca47a32fb1fb9e2686c98.tar.bz2
Rename HD(f)printf() to (f)printf() (#3194)
Diffstat (limited to 'tools/src/h5jam')
-rw-r--r--tools/src/h5jam/h5jam.c48
-rw-r--r--tools/src/h5jam/h5unjam.c55
2 files changed, 51 insertions, 52 deletions
diff --git a/tools/src/h5jam/h5jam.c b/tools/src/h5jam/h5jam.c
index 9b3030c..2da104e 100644
--- a/tools/src/h5jam/h5jam.c
+++ b/tools/src/h5jam/h5jam.c
@@ -50,30 +50,30 @@ static void
usage(const char *prog)
{
HDfflush(stdout);
- HDfprintf(stdout, "usage: %s -i <in_file.h5> -u <in_user_file> [-o <out_file.h5>] [--clobber]\n", prog);
- HDfprintf(stdout, "\n");
- HDfprintf(stdout, "Adds user block to front of an HDF5 file and creates a new concatenated file.\n");
- HDfprintf(stdout, "\n");
- HDfprintf(stdout, "OPTIONS\n");
- HDfprintf(stdout, " -i in_file.h5 Specifies the input HDF5 file.\n");
- HDfprintf(stdout, " -u in_user_file Specifies the file to be inserted into the user block.\n");
- HDfprintf(stdout, " Can be any file format except an HDF5 format.\n");
- HDfprintf(stdout, " -o out_file.h5 Specifies the output HDF5 file.\n");
- HDfprintf(stdout, " If not specified, the user block will be concatenated in\n");
- HDfprintf(stdout, " place to the input HDF5 file.\n");
- HDfprintf(stdout, " --clobber Wipes out any existing user block before concatenating\n");
- HDfprintf(stdout, " the given user block.\n");
- HDfprintf(stdout, " The size of the new user block will be the larger of;\n");
- HDfprintf(stdout, " - the size of existing user block in the input HDF5 file\n");
- HDfprintf(stdout, " - the size of user block required by new input user file\n");
- HDfprintf(stdout, " (size = 512 x 2N, N is positive integer.)\n");
- HDfprintf(stdout, "\n");
- HDfprintf(stdout, " -h Prints a usage message and exits.\n");
- HDfprintf(stdout, " -V Prints the HDF5 library version and exits.\n");
- HDfprintf(stdout, "\n");
- HDfprintf(stdout, "Exit Status:\n");
- HDfprintf(stdout, " 0 Succeeded.\n");
- HDfprintf(stdout, " >0 An error occurred.\n");
+ fprintf(stdout, "usage: %s -i <in_file.h5> -u <in_user_file> [-o <out_file.h5>] [--clobber]\n", prog);
+ fprintf(stdout, "\n");
+ fprintf(stdout, "Adds user block to front of an HDF5 file and creates a new concatenated file.\n");
+ fprintf(stdout, "\n");
+ fprintf(stdout, "OPTIONS\n");
+ fprintf(stdout, " -i in_file.h5 Specifies the input HDF5 file.\n");
+ fprintf(stdout, " -u in_user_file Specifies the file to be inserted into the user block.\n");
+ fprintf(stdout, " Can be any file format except an HDF5 format.\n");
+ fprintf(stdout, " -o out_file.h5 Specifies the output HDF5 file.\n");
+ fprintf(stdout, " If not specified, the user block will be concatenated in\n");
+ fprintf(stdout, " place to the input HDF5 file.\n");
+ fprintf(stdout, " --clobber Wipes out any existing user block before concatenating\n");
+ fprintf(stdout, " the given user block.\n");
+ fprintf(stdout, " The size of the new user block will be the larger of;\n");
+ fprintf(stdout, " - the size of existing user block in the input HDF5 file\n");
+ fprintf(stdout, " - the size of user block required by new input user file\n");
+ fprintf(stdout, " (size = 512 x 2N, N is positive integer.)\n");
+ fprintf(stdout, "\n");
+ fprintf(stdout, " -h Prints a usage message and exits.\n");
+ fprintf(stdout, " -V Prints the HDF5 library version and exits.\n");
+ fprintf(stdout, "\n");
+ fprintf(stdout, "Exit Status:\n");
+ fprintf(stdout, " 0 Succeeded.\n");
+ fprintf(stdout, " >0 An error occurred.\n");
}
/*-------------------------------------------------------------------------
diff --git a/tools/src/h5jam/h5unjam.c b/tools/src/h5jam/h5unjam.c
index 1c8c24a..1cda5d4 100644
--- a/tools/src/h5jam/h5unjam.c
+++ b/tools/src/h5jam/h5unjam.c
@@ -51,34 +51,33 @@ static void
usage(const char *prog)
{
HDfflush(stdout);
- HDfprintf(stdout, "usage: %s -i <in_file.h5> [-o <out_file.h5> ] [-u <out_user_file> | --delete]\n",
- prog);
- HDfprintf(stdout, "\n");
- HDfprintf(stdout, "Splits user file and HDF5 file into two files: user block data and HDF5 data.\n");
- HDfprintf(stdout, "\n");
- HDfprintf(stdout, "OPTIONS\n");
- HDfprintf(stdout, " -i in_file.h5 Specifies the HDF5 as input. If the input HDF5 file\n");
- HDfprintf(stdout, " contains no user block, exit with an error message.\n");
- HDfprintf(stdout, " -o out_file.h5 Specifies output HDF5 file without a user block.\n");
- HDfprintf(stdout, " If not specified, the user block will be removed from the\n");
- HDfprintf(stdout, " input HDF5 file.\n");
- HDfprintf(stdout, " -u out_user_file\n");
- HDfprintf(stdout, " Specifies the output file containing the data from the\n");
- HDfprintf(stdout, " user block.\n");
- HDfprintf(stdout, " Cannot be used with --delete option.\n");
- HDfprintf(stdout, " --delete Remove the user block from the input HDF5 file. The content\n");
- HDfprintf(stdout, " of the user block is discarded.\n");
- HDfprintf(stdout, " Cannot be used with the -u option.\n");
- HDfprintf(stdout, "\n");
- HDfprintf(stdout, " -h Prints a usage message and exits.\n");
- HDfprintf(stdout, " -V Prints the HDF5 library version and exits.\n");
- HDfprintf(stdout, "\n");
- HDfprintf(stdout, " If neither --delete nor -u is specified, the user block from the input file\n");
- HDfprintf(stdout, " will be displayed to stdout.\n");
- HDfprintf(stdout, "\n");
- HDfprintf(stdout, "Exit Status:\n");
- HDfprintf(stdout, " 0 Succeeded.\n");
- HDfprintf(stdout, " >0 An error occurred.\n");
+ fprintf(stdout, "usage: %s -i <in_file.h5> [-o <out_file.h5> ] [-u <out_user_file> | --delete]\n", prog);
+ fprintf(stdout, "\n");
+ fprintf(stdout, "Splits user file and HDF5 file into two files: user block data and HDF5 data.\n");
+ fprintf(stdout, "\n");
+ fprintf(stdout, "OPTIONS\n");
+ fprintf(stdout, " -i in_file.h5 Specifies the HDF5 as input. If the input HDF5 file\n");
+ fprintf(stdout, " contains no user block, exit with an error message.\n");
+ fprintf(stdout, " -o out_file.h5 Specifies output HDF5 file without a user block.\n");
+ fprintf(stdout, " If not specified, the user block will be removed from the\n");
+ fprintf(stdout, " input HDF5 file.\n");
+ fprintf(stdout, " -u out_user_file\n");
+ fprintf(stdout, " Specifies the output file containing the data from the\n");
+ fprintf(stdout, " user block.\n");
+ fprintf(stdout, " Cannot be used with --delete option.\n");
+ fprintf(stdout, " --delete Remove the user block from the input HDF5 file. The content\n");
+ fprintf(stdout, " of the user block is discarded.\n");
+ fprintf(stdout, " Cannot be used with the -u option.\n");
+ fprintf(stdout, "\n");
+ fprintf(stdout, " -h Prints a usage message and exits.\n");
+ fprintf(stdout, " -V Prints the HDF5 library version and exits.\n");
+ fprintf(stdout, "\n");
+ fprintf(stdout, " If neither --delete nor -u is specified, the user block from the input file\n");
+ fprintf(stdout, " will be displayed to stdout.\n");
+ fprintf(stdout, "\n");
+ fprintf(stdout, "Exit Status:\n");
+ fprintf(stdout, " 0 Succeeded.\n");
+ fprintf(stdout, " >0 An error occurred.\n");
}
/*-------------------------------------------------------------------------