// In Windows, wmain() is an alternate entry point for main(), and receives the same parameters // as main() but encoded in Windows Unicode (UTF-16); "wide" 16-bit wchar_t characters. The // WindowsCommandLine object converts these wide character strings to a UTF-8 coded equivalent // and makes them available through the argv() and envp() members. This enables dbtestsMain() // to process UTF-8 encoded arguments and environment variables without regard to platform. int wmain(int argc, wchar_t* argvW[], wchar_t* envpW[]) { WindowsCommandLine wcl(argc, argvW, envpW); int exitCode = dbtestsMain(argc, wcl.argv(), wcl.envp()); ::_exit(exitCode); }
int main(int argc, char* argv[], char** envp) { int exitCode = dbtestsMain(argc, argv, envp); ::_exit(exitCode); }
int main(int argc, char* argv[], char** envp) { int exitCode = dbtestsMain(argc, argv, envp); flushForGcov(); quickExit(exitCode); }