newlib-cygwin/winsup/mingw/samples/globbing/glob.c

21 lines
296 B
C
Raw Normal View History

2000-02-18 03:38:33 +08:00
#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;
}