summaryrefslogtreecommitdiff
path: root/arg.c
diff options
context:
space:
mode:
Diffstat (limited to 'arg.c')
-rw-r--r--arg.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/arg.c b/arg.c
new file mode 100644
index 0000000..0a57cec
--- /dev/null
+++ b/arg.c
@@ -0,0 +1,10 @@
+#include <stdio.h>
+
+int
+main(int argc, char* argv[]) {
+ int i;
+ for (i=1; i<argc; i++) {
+ puts(argv[i]);
+ }
+ return 0;
+}