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

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

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

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;
}