#include <windows.h>
#include <tchar.h>
#include <wchar.h>
#include <stdio.h>
#include <stdlib.h>
#include "main.h"
Go to the source code of this file.
◆ TARGET
◆ VERSION
◆ WIN32_LEAN_AND_MEAN
◆ main()
Definition at line 65 of file main.c.
66{
67 int test_num = 0;
71
75 }
82 test_num = -1;
87 } else {
89
90 }
91 }
92 for (
i = test_num;
i <= test_num;
i++) {
93 if (!test_num) {
94 test_num = 4;
96 }
98 case 1:
100 break;
101 case 2:
103 break;
104 default:
107 break;
108 }
109 }
112}
char * strstr(char *String1, char *String2)
static const WCHAR version[]
int run_ansi_tests(int test_num)
GLsizeiptr const GLvoid GLenum usage
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
_Check_return_ int __cdecl atoi(_In_z_ const char *_Str)
int run_unicode_tests(int test_num)
◆ mainCRTStartup()
◆ usage()
Definition at line 44 of file main.c.
45{
46 printf(
"USAGE: %s test_id [unicode]|[ansi] [clean]|[status][verbose]\n",
argv0);
47 printf(
"\tWhere test_id is one of:\n");
48 printf(
"\t0 - (default) regression mode, run tests 1-4 displaying failures only\n");
49 printf(
"\t1 - Write DOS style eol data to file in text mode (text.dos)\n");
50 printf(
"\t2 - Write NIX style eol data to file in binary mode (binary.dos)\n");
51 printf(
"\t3 - Write DOS style eol data to file in text mode (text.nix)\n");
52 printf(
"\t4 - Write NIX style eol data to file in binary mode (binary.nix)\n");
53 printf(
"\t5 - Echo console line input\n");
54 printf(
"\t6 - Dump console line input in hex format\n");
55 printf(
"\t7 - The source code is your friend\n");
56 printf(
"\t[unicode] - perform tests using UNICODE versions of library functions\n");
57 printf(
"\t[ansi] - perform tests using ANSI versions of library functions\n");
58 printf(
"\t If neither unicode or ansi is specified build default is used\n");
59 printf(
"\t[clean] - delete all temporary test output files\n");
60 printf(
"\t[status] - enable extra status display while running\n");
61 printf(
"\t[verbose] - enable verbose output when running\n");
62 return 0;
63}
static char argv0[MAX_PATH]
◆ args
char* args[] = { "fileio.exe", "0", "unicode", "verbose"} |
◆ status_flagged
◆ verbose_flagged