Welcome to mirror list, hosted at ThFree Co, Russian Federation.

noglob.c « globbing « samples « mingw « winsup - cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 8bc4c82a3586cdd74adf870efa3265f37bc58359 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22

#include <stdlib.h>
#include <stdio.h>
#include <windows.h>

/* This line turns off automatic command line globbing. */
int _CRT_glob = 0;

int
main (int argc, char* argv[])
{
	int	i;

	printf ("Command line (via GetCommandLine) \"%s\"\n",
		GetCommandLine());
	for (i = 0; i < argc; i++)
	{
		printf ("Argv[%d] \"%s\"\n", i, argv[i]);
	}

	return 0;
}