git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2196
6f19259b-4bc3-4df7-8a09-
765794883524
13 files changed:
SrcBuffer = DstBuffer = NULL;\r
infile = outfile = NULL;\r
\r
SrcBuffer = DstBuffer = NULL;\r
infile = outfile = NULL;\r
\r
Usage();\r
goto Done;\r
}\r
Usage();\r
goto Done;\r
}\r
TimeStamp = 0;\r
TimeStampPresent = FALSE;\r
\r
TimeStamp = 0;\r
TimeStampPresent = FALSE;\r
\r
Usage();\r
return STATUS_ERROR;\r
}\r
Usage();\r
return STATUS_ERROR;\r
}\r
Index = 0;\r
Invert = 0;\r
\r
Index = 0;\r
Invert = 0;\r
\r
Usage();\r
return -1;\r
}\r
Usage();\r
return -1;\r
}\r
//\r
// Verify the correct number of arguments\r
//\r
//\r
// Verify the correct number of arguments\r
//\r
Usage();\r
return 1;\r
}\r
Usage();\r
return 1;\r
}\r
OutputFileName = NULL;\r
\r
SetUtilityName (UTILITY_NAME);\r
OutputFileName = NULL;\r
\r
SetUtilityName (UTILITY_NAME);\r
+ \r
+ if (argc == 1) {\r
+ Usage ();\r
+ return -1;\r
+ }\r
\r
if ((strcmp(argv[1], "-h") == 0) || (strcmp(argv[1], "--help") == 0) ||\r
(strcmp(argv[1], "-?") == 0) || (strcmp(argv[1], "/?") == 0)) {\r
\r
if ((strcmp(argv[1], "-h") == 0) || (strcmp(argv[1], "--help") == 0) ||\r
(strcmp(argv[1], "-?") == 0) || (strcmp(argv[1], "/?") == 0)) {\r
Version();\r
return -1;\r
}\r
Version();\r
return -1;\r
}\r
- \r
- if (argc == 1) {\r
- Usage ();\r
- return -1;\r
- }\r
\r
BufferSize = 1024 * 1024 * 16;\r
FileBuffer = (UINT8 *) malloc (BufferSize * sizeof (UINT8));\r
\r
BufferSize = 1024 * 1024 * 16;\r
FileBuffer = (UINT8 *) malloc (BufferSize * sizeof (UINT8));\r
Version();\r
return STATUS_ERROR;\r
}\r
Version();\r
return STATUS_ERROR;\r
}\r
+ \r
+ if (Argc == 1) {\r
+ Usage ();\r
+ return STATUS_ERROR;\r
+ }\r
\r
//\r
// Process until no more options\r
\r
//\r
// Process until no more options\r
- "%s, Tiano Dependency Expression Generation Utility. Version %d.%d.\n",\r
+ "%s v%d.%d -Tiano utility to generate dependency expression.\n",\r
UTILITY_NAME,\r
UTILITY_MAJOR_VERSION,\r
UTILITY_MINOR_VERSION\r
UTILITY_NAME,\r
UTILITY_MAJOR_VERSION,\r
UTILITY_MINOR_VERSION\r
Output_Flag = FALSE;\r
Pad_Flag = FALSE;\r
\r
Output_Flag = FALSE;\r
Pad_Flag = FALSE;\r
\r
- //\r
- // Output the calling arguments\r
- //\r
- printf ("\n\n");\r
- for (Index = 0; Index < argc; Index++) {\r
- printf ("%s ", argv[Index]);\r
+ if (argc == 1) {\r
+ Usage();\r
+ return EFI_INVALID_PARAMETER;\r
-\r
- printf ("\n\n");\r
-\r
+ \r
+ if ((strcmp(argv[1], "-h") == 0) || (strcmp(argv[1], "--help") == 0) ||\r
+ (strcmp(argv[1], "-?") == 0) || (strcmp(argv[1], "/?") == 0)) {\r
+ Usage();\r
+ return EFI_INVALID_PARAMETER;\r
+ }\r
+ \r
+ if ((strcmp(argv[1], "-V") == 0) || (strcmp(argv[1], "--version") == 0)) {\r
+ Version();\r
+ return EFI_INVALID_PARAMETER;\r
+ }\r
+ \r
if (argc < 5) {\r
printf ("Not enough arguments\n");\r
Usage();\r
if (argc < 5) {\r
printf ("Not enough arguments\n");\r
Usage();\r
-Copyright (c) 2004, Intel Corporation \r
+Copyright (c) 2004-2007, Intel Corporation \r
All rights reserved. This program and the accompanying materials \r
are licensed and made available under the terms and conditions of the BSD License \r
which accompanies this distribution. The full text of the license may be found at \r
All rights reserved. This program and the accompanying materials \r
are licensed and made available under the terms and conditions of the BSD License \r
which accompanies this distribution. The full text of the license may be found at \r
#include "EfiUtilityMsgs.h"\r
#include "SimpleFileParsing.h"\r
\r
#include "EfiUtilityMsgs.h"\r
#include "SimpleFileParsing.h"\r
\r
-#define UTILITY_NAME "GenFfsFile"\r
-#define TOOLVERSION "0.32"\r
+#define UTILITY_NAME "GenFfsFile"\r
+#define UTILITY_MAJOR_VERSION 0\r
+#define UTILITY_MINOR_VERSION 32\r
+\r
#define MAX_ARRAY_SIZE 100\r
\r
static\r
#define MAX_ARRAY_SIZE 100\r
\r
static\r
+Version (\r
+ void\r
+ );\r
+\r
+static\r
+void\r
+Usage (\r
String[Index - Index2] = 0;\r
}\r
\r
String[Index - Index2] = 0;\r
}\r
\r
+static\r
+void \r
+Version(\r
+ void\r
+ )\r
+/*++\r
+\r
+Routine Description:\r
+\r
+ Print out version information for this utility.\r
+\r
+Arguments:\r
+\r
+ None\r
+ \r
+Returns:\r
+\r
+ None\r
+ \r
+--*/ \r
+{\r
+ printf ("%s v%d.%d -EDK utility to generate a Firmware File System files.\n", UTILITY_NAME, UTILITY_MAJOR_VERSION, UTILITY_MINOR_VERSION);\r
+ printf ("Copyright (c) 1999-2007 Intel Corporation. All rights reserved.\n");\r
+}\r
+\r
+ Version();\r
+ \r
+ printf ("\nUsage:\n");\r
printf (UTILITY_NAME " -b \"build directory\" -p1 \"package1.inf\" -p2 \"package2.inf\" -v\n");\r
printf (" -b \"build directory\":\n ");\r
printf (" specifies the full path to the component build directory.\n");\r
printf (UTILITY_NAME " -b \"build directory\" -p1 \"package1.inf\" -p2 \"package2.inf\" -v\n");\r
printf (" -b \"build directory\":\n ");\r
printf (" specifies the full path to the component build directory.\n");\r
//\r
// If no args, then print usage instructions and return an error\r
//\r
//\r
// If no args, then print usage instructions and return an error\r
//\r
- if (Argc == 1) {\r
- PrintUsage ();\r
+ Argc--;\r
+ Argv++;\r
+ \r
+ if (Argc < 1) {\r
+ Usage ();\r
return STATUS_ERROR;\r
}\r
return STATUS_ERROR;\r
}\r
+ \r
+ if ((strcmp(Argv[0], "-h") == 0) || (strcmp(Argv[0], "--help") == 0) ||\r
+ (strcmp(Argv[0], "-?") == 0) || (strcmp(Argv[0], "/?") == 0)) {\r
+ Usage();\r
+ return STATUS_ERROR;\r
+ }\r
+ \r
+ if ((strcmp(Argv[0], "-V") == 0) || (strcmp(Argv[0], "--version") == 0)) {\r
+ Version();\r
+ return STATUS_ERROR;\r
+ }\r
+ \r
memset (&mGlobals, 0, sizeof (mGlobals));\r
memset (&mGlobals, 0, sizeof (mGlobals));\r
while (Argc > 0) {\r
if (strcmpi (Argv[0], "-b") == 0) {\r
//\r
while (Argc > 0) {\r
if (strcmpi (Argv[0], "-b") == 0) {\r
//\r
//\r
// OPTION: -h help\r
//\r
//\r
// OPTION: -h help\r
//\r
return STATUS_ERROR;\r
} else if (strcmpi (Argv[0], "-?") == 0) {\r
//\r
// OPTION: -? help\r
//\r
return STATUS_ERROR;\r
} else if (strcmpi (Argv[0], "-?") == 0) {\r
//\r
// OPTION: -? help\r
//\r
return STATUS_ERROR;\r
} else {\r
Error (NULL, 0, 0, Argv[0], "unrecognized option");\r
return STATUS_ERROR;\r
} else {\r
Error (NULL, 0, 0, Argv[0], "unrecognized option");\r
return STATUS_ERROR;\r
}\r
\r
return STATUS_ERROR;\r
}\r
\r
-Copyright (c) 2004, Intel Corporation \r
+Copyright (c) 2004-2007, Intel Corporation \r
All rights reserved. This program and the accompanying materials \r
are licensed and made available under the terms and conditions of the BSD License \r
which accompanies this distribution. The full text of the license may be found at \r
All rights reserved. This program and the accompanying materials \r
are licensed and made available under the terms and conditions of the BSD License \r
which accompanies this distribution. The full text of the license may be found at \r
#include "CommonLib.h"\r
#include "EfiUtilityMsgs.h"\r
\r
#include "CommonLib.h"\r
#include "EfiUtilityMsgs.h"\r
\r
-VOID\r
-PrintUtilityInfo (\r
- VOID\r
- )\r
+static\r
+void \r
+Version(\r
+ void\r
+)\r
/*++\r
\r
Routine Description:\r
/*++\r
\r
Routine Description:\r
- printf (\r
- "%s - Tiano Firmware Volume Generation Utility."" Version %i.%i\n\n",\r
- UTILITY_NAME,\r
- UTILITY_MAJOR_VERSION,\r
- UTILITY_MINOR_VERSION\r
- );\r
+ printf ("%s v%d.%d -Tiano Firmware Volume Generation Utility.\n", UTILITY_NAME, UTILITY_MAJOR_VERSION, UTILITY_MINOR_VERSION);\r
+ printf ("Copyright (c) 1999-2007 Intel Corporation. All rights reserved.\n");\r
-VOID\r
-PrintUsage (\r
- VOID\r
+static\r
+void \r
+Usage(\r
+ void\r
- printf ("Usage: %s -I FvInfFileName\n", UTILITY_NAME);\r
+ Version();\r
+ \r
+ printf ("\nUsage: %s -I FvInfFileName\n", UTILITY_NAME);\r
- printf ("\tFvInfFileName is the name of the image description file.\n\n");\r
+ printf (" FvInfFileName is the name of the image description file.\n\n");\r
SymFileName = SymFileNameBuffer;\r
\r
SetUtilityName (UTILITY_NAME);\r
SymFileName = SymFileNameBuffer;\r
\r
SetUtilityName (UTILITY_NAME);\r
- //\r
- // Display utility information\r
- //\r
- PrintUtilityInfo ();\r
-\r
+ \r
+ if (argc == 1) {\r
+ Usage ();\r
+ return STATUS_ERROR;\r
+ }\r
+ \r
+ if ((strcmp(argv[1], "-h") == 0) || (strcmp(argv[1], "--help") == 0) ||\r
+ (strcmp(argv[1], "-?") == 0) || (strcmp(argv[1], "/?") == 0)) {\r
+ Usage();\r
+ return GetUtilityStatus ();\r
+ }\r
+ \r
+ if ((strcmp(argv[1], "-V") == 0) || (strcmp(argv[1], "--version") == 0)) {\r
+ Version();\r
+ return GetUtilityStatus ();\r
+ }\r
+ \r
//\r
// Verify the correct number of arguments\r
//\r
if (argc != MAX_ARGS) {\r
Error (NULL, 0, 0, "invalid number of input parameters specified", NULL);\r
//\r
// Verify the correct number of arguments\r
//\r
if (argc != MAX_ARGS) {\r
Error (NULL, 0, 0, "invalid number of input parameters specified", NULL);\r
return GetUtilityStatus ();\r
}\r
//\r
return GetUtilityStatus ();\r
}\r
//\r
//\r
if (argv[Index][0] != '-' && argv[Index][0] != '/') {\r
Error (NULL, 0, 0, argv[Index], "argument pair must begin with \"-\" or \"/\"");\r
//\r
if (argv[Index][0] != '-' && argv[Index][0] != '/') {\r
Error (NULL, 0, 0, argv[Index], "argument pair must begin with \"-\" or \"/\"");\r
return GetUtilityStatus ();\r
}\r
//\r
return GetUtilityStatus ();\r
}\r
//\r
//\r
if (argv[Index][2] != 0) {\r
Error (NULL, 0, 0, argv[Index], "unrecognized argument");\r
//\r
if (argv[Index][2] != 0) {\r
Error (NULL, 0, 0, argv[Index], "unrecognized argument");\r
return GetUtilityStatus ();\r
}\r
//\r
return GetUtilityStatus ();\r
}\r
//\r
strcpy (InfFileName, argv[Index + 1]);\r
} else {\r
Error (NULL, 0, 0, argv[Index + 1], "FvInfFileName may only be specified once");\r
strcpy (InfFileName, argv[Index + 1]);\r
} else {\r
Error (NULL, 0, 0, argv[Index + 1], "FvInfFileName may only be specified once");\r
return GetUtilityStatus ();\r
}\r
break;\r
\r
default:\r
Error (NULL, 0, 0, argv[Index], "unrecognized argument");\r
return GetUtilityStatus ();\r
}\r
break;\r
\r
default:\r
Error (NULL, 0, 0, argv[Index], "unrecognized argument");\r
return GetUtilityStatus ();\r
break;\r
}\r
return GetUtilityStatus ();\r
break;\r
}\r
\r
\r
#define UTILITY_NAME "GenSection"\r
\r
\r
#define UTILITY_NAME "GenSection"\r
+#define UTILITY_MAJOR_VERSION 0\r
+#define UTILITY_MINOR_VERSION 1\r
+\r
\r
#define PARAMETER_NOT_SPECIFIED "Parameter not specified"\r
#define MAXIMUM_INPUT_FILE_NUM 10\r
\r
#define PARAMETER_NOT_SPECIFIED "Parameter not specified"\r
#define MAXIMUM_INPUT_FILE_NUM 10\r
char *GUIDedSectionTypeName[] = { "CRC32" };\r
EFI_GUID gEfiCrc32SectionGuid = EFI_CRC32_GUIDED_SECTION_EXTRACTION_PROTOCOL_GUID;\r
\r
char *GUIDedSectionTypeName[] = { "CRC32" };\r
EFI_GUID gEfiCrc32SectionGuid = EFI_CRC32_GUIDED_SECTION_EXTRACTION_PROTOCOL_GUID;\r
\r
+static\r
+void \r
+Version(\r
+ void\r
+ )\r
+/*++\r
+\r
+Routine Description:\r
+\r
+ Print out version information for this utility.\r
+\r
+Arguments:\r
+\r
+ None\r
+ \r
+Returns:\r
+\r
+ None\r
+ \r
+--*/ \r
+{\r
+ printf ("%s v%d.%d -Utility to create output file with formed section per the FV spec.\n", UTILITY_NAME, UTILITY_MAJOR_VERSION, UTILITY_MINOR_VERSION);\r
+ printf ("Copyright (c) 1999-2007 Intel Corporation. All rights reserved.\n");\r
+}\r
+\r
VOID\r
)\r
{\r
UINTN SectionType;\r
UINTN DisplayCount;\r
\r
VOID\r
)\r
{\r
UINTN SectionType;\r
UINTN DisplayCount;\r
\r
- printf ("Usage: "UTILITY_NAME " -i InputFile -o OutputFile -s SectionType [SectionType params]\n\n");\r
+ Version();\r
+ \r
+ printf ("\nUsage: "UTILITY_NAME " -i InputFile -o OutputFile -s SectionType [SectionType params]\n\n");\r
printf (" Where SectionType is one of the following section types:\n\n");\r
\r
DisplayCount = 0;\r
printf (" Where SectionType is one of the following section types:\n\n");\r
\r
DisplayCount = 0;\r
Status = EFI_SUCCESS;\r
\r
SetUtilityName (UTILITY_NAME);\r
Status = EFI_SUCCESS;\r
\r
SetUtilityName (UTILITY_NAME);\r
- PrintUsageMessage ();\r
return STATUS_ERROR;\r
}\r
return STATUS_ERROR;\r
}\r
+ \r
+ if ((strcmp(argv[1], "-h") == 0) || (strcmp(argv[1], "--help") == 0) ||\r
+ (strcmp(argv[1], "-?") == 0) || (strcmp(argv[1], "/?") == 0)) {\r
+ Usage();\r
+ return STATUS_ERROR;\r
+ }\r
+ \r
+ if ((strcmp(argv[1], "-V") == 0) || (strcmp(argv[1], "--version") == 0)) {\r
+ Version();\r
+ return STATUS_ERROR;\r
+ }\r
+\r
//\r
// Parse command line\r
//\r
//\r
// Parse command line\r
//\r
Index++;\r
ParamDigitalSignature = argv[Index];\r
} else if (strcmpi (argv[Index], "-?") == 0) {\r
Index++;\r
ParamDigitalSignature = argv[Index];\r
} else if (strcmpi (argv[Index], "-?") == 0) {\r
- PrintUsageMessage ();\r
return STATUS_ERROR;\r
} else {\r
Error (NULL, 0, 0, argv[Index], "unknown option");\r
return STATUS_ERROR;\r
} else {\r
Error (NULL, 0, 0, argv[Index], "unknown option");\r
SectionSubType = EFI_STANDARD_COMPRESSION;\r
} else {\r
Error (NULL, 0, 0, ParamSectionSubType, "unknown compression type");\r
SectionSubType = EFI_STANDARD_COMPRESSION;\r
} else {\r
Error (NULL, 0, 0, ParamSectionSubType, "unknown compression type");\r
- PrintUsageMessage ();\r
return GetUtilityStatus ();\r
}\r
} else if (stricmp (ParamSectionType, SectionTypeName[EFI_SECTION_GUID_DEFINED]) == 0) {\r
return GetUtilityStatus ();\r
}\r
} else if (stricmp (ParamSectionType, SectionTypeName[EFI_SECTION_GUID_DEFINED]) == 0) {\r
SectionSubType = EFI_SECTION_CRC32_GUID_DEFINED;\r
} else {\r
Error (NULL, 0, 0, ParamSectionSubType, "unknown GUID defined section type", ParamSectionSubType);\r
SectionSubType = EFI_SECTION_CRC32_GUID_DEFINED;\r
} else {\r
Error (NULL, 0, 0, ParamSectionSubType, "unknown GUID defined section type", ParamSectionSubType);\r
- PrintUsageMessage ();\r
return GetUtilityStatus ();\r
}\r
} else if (stricmp (ParamSectionType, SectionTypeName[EFI_SECTION_PE32]) == 0) {\r
return GetUtilityStatus ();\r
}\r
} else if (stricmp (ParamSectionType, SectionTypeName[EFI_SECTION_PE32]) == 0) {\r
Index = sscanf (ParamVersion, "%d", &VersionNumber);\r
if (Index != 1 || VersionNumber < 0 || VersionNumber > 65565) {\r
Error (NULL, 0, 0, ParamVersion, "illegal version number");\r
Index = sscanf (ParamVersion, "%d", &VersionNumber);\r
if (Index != 1 || VersionNumber < 0 || VersionNumber > 65565) {\r
Error (NULL, 0, 0, ParamVersion, "illegal version number");\r
- PrintUsageMessage ();\r
return GetUtilityStatus ();\r
}\r
\r
return GetUtilityStatus ();\r
}\r
\r
InputFileRequired = FALSE;\r
if (strcmp (AuxString, PARAMETER_NOT_SPECIFIED) == 0) {\r
Error (NULL, 0, 0, "user interface string not specified", NULL);\r
InputFileRequired = FALSE;\r
if (strcmp (AuxString, PARAMETER_NOT_SPECIFIED) == 0) {\r
Error (NULL, 0, 0, "user interface string not specified", NULL);\r
- PrintUsageMessage ();\r
return GetUtilityStatus ();\r
}\r
} else if (stricmp (ParamSectionType, SectionTypeName[EFI_SECTION_COMPATIBILITY16]) == 0) {\r
return GetUtilityStatus ();\r
}\r
} else if (stricmp (ParamSectionType, SectionTypeName[EFI_SECTION_COMPATIBILITY16]) == 0) {\r
SectionType = EFI_SECTION_PEI_DEPEX;\r
} else {\r
Error (NULL, 0, 0, ParamSectionType, "unknown section type");\r
SectionType = EFI_SECTION_PEI_DEPEX;\r
} else {\r
Error (NULL, 0, 0, ParamSectionType, "unknown section type");\r
- PrintUsageMessage ();\r
return GetUtilityStatus ();\r
}\r
//\r
return GetUtilityStatus ();\r
}\r
//\r
// Version of this utility\r
//\r
#define UTILITY_NAME "GenTEImage"\r
// Version of this utility\r
//\r
#define UTILITY_NAME "GenTEImage"\r
-#define UTILITY_VERSION "v0.11"\r
+#define UTILITY_MAJOR_VERSION 0\r
+#define UTILITY_MINOR_VERSION 11\r
\r
//\r
// Define the max length of a filename\r
\r
//\r
// Define the max length of a filename\r
//\r
// Function prototypes\r
//\r
//\r
// Function prototypes\r
//\r
+static\r
+void\r
+Version (\r
+ VOID\r
+ );\r
+\r
static\r
void\r
Usage (\r
static\r
void\r
Usage (\r
Usage ();\r
return STATUS_ERROR;\r
}\r
Usage ();\r
return STATUS_ERROR;\r
}\r
+ \r
+ if ((strcmp(Argv[0], "-h") == 0) || (strcmp(Argv[0], "--help") == 0) ||\r
+ (strcmp(Argv[0], "-?") == 0) || (strcmp(Argv[0], "/?") == 0)) {\r
+ Usage();\r
+ return STATUS_ERROR;\r
+ }\r
+ \r
+ if ((strcmp(Argv[0], "-V") == 0) || (strcmp(Argv[0], "--version") == 0)) {\r
+ Version();\r
+ return STATUS_ERROR;\r
+ }\r
+ \r
//\r
// Process until no more arguments\r
//\r
//\r
// Process until no more arguments\r
//\r
return STATUS_SUCCESS;\r
}\r
\r
return STATUS_SUCCESS;\r
}\r
\r
+static\r
+void \r
+Version(\r
+ void\r
+)\r
+/*++\r
+\r
+Routine Description:\r
+\r
+ Displays the standard utility information to SDTOUT\r
+\r
+Arguments:\r
+\r
+ None\r
+\r
+Returns:\r
+\r
+ None\r
+\r
+--*/\r
+{\r
+ printf ("%s v%d.%d -Utility to generate a TE image from an EFI PE32 image.\n", UTILITY_NAME, UTILITY_MAJOR_VERSION, UTILITY_MINOR_VERSION);\r
+ printf ("Copyright (c) 1999-2007 Intel Corporation. All rights reserved.\n");\r
+}\r
+\r
static\r
void\r
Usage (\r
static\r
void\r
Usage (\r
{\r
int Index;\r
static const char *Msg[] = {\r
{\r
int Index;\r
static const char *Msg[] = {\r
- UTILITY_NAME " version "UTILITY_VERSION " - TE image utility",\r
- " Generate a TE image from an EFI PE32 image",\r
- " Usage: "UTILITY_NAME " {-v} {-dump} {-h|-?} {-o OutFileName} InFileName",\r
+ "\nUsage: "UTILITY_NAME " {-v} {-dump} {-h|-?} {-o OutFileName} InFileName",\r
" [-e|-b] [FileName(s)]",\r
" where:",\r
" [-e|-b] [FileName(s)]",\r
" where:",\r
+ " -h,--help,-?,/? to display help messages",\r
+ " -V,--version to display version information",\r
" -v - for verbose output",\r
" -dump - to dump the input file to a text file",\r
" -v - for verbose output",\r
" -dump - to dump the input file to a text file",\r
- " -h -? - for this help information",\r
" -o OutFileName - to write output to OutFileName rather than InFileName"DEFAULT_OUTPUT_EXTENSION,\r
" InFileName - name of the input PE32 file",\r
"",\r
NULL\r
};\r
" -o OutFileName - to write output to OutFileName rather than InFileName"DEFAULT_OUTPUT_EXTENSION,\r
" InFileName - name of the input PE32 file",\r
"",\r
NULL\r
};\r
for (Index = 0; Msg[Index] != NULL; Index++) {\r
fprintf (stdout, "%s\n", Msg[Index]);\r
}\r
for (Index = 0; Msg[Index] != NULL; Index++) {\r
fprintf (stdout, "%s\n", Msg[Index]);\r
}\r
FILE *fpin;\r
FILE *fpout;\r
\r
FILE *fpin;\r
FILE *fpout;\r
\r
Usage();\r
return -1;\r
}\r
Usage();\r
return -1;\r
}\r
char *Buffer;\r
char *Ptrx;\r
\r
char *Buffer;\r
char *Ptrx;\r
\r
Usage();\r
return -1;\r
}\r
Usage();\r
return -1;\r
}\r