aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/test/port_SUITE_data/echo_args.c
diff options
context:
space:
mode:
Diffstat (limited to 'erts/emulator/test/port_SUITE_data/echo_args.c')
-rw-r--r--erts/emulator/test/port_SUITE_data/echo_args.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/erts/emulator/test/port_SUITE_data/echo_args.c b/erts/emulator/test/port_SUITE_data/echo_args.c
new file mode 100644
index 0000000000..91dca8993f
--- /dev/null
+++ b/erts/emulator/test/port_SUITE_data/echo_args.c
@@ -0,0 +1,12 @@
+#include <stdio.h>
+
+int main(int argc, char **argv)
+{
+ int i;
+
+ for(i = 0; i < argc; ++i) {
+ printf("argv[%d]:|%s|\n",i,argv[i]);
+ }
+ return 0;
+}
+