import winsup-2000-02-17 snapshot
This commit is contained in:
20
winsup/mingw/samples/globbing/glob.c
Normal file
20
winsup/mingw/samples/globbing/glob.c
Normal file
@@ -0,0 +1,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;
|
||||
}
|
Reference in New Issue
Block a user