about summary refs log tree commit diff stats
path: root/test/os_dep/linux/test_env.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/os_dep/linux/test_env.c')
-rw-r--r--test/os_dep/linux/test_env.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/os_dep/linux/test_env.c b/test/os_dep/linux/test_env.c
new file mode 100644
index 00000000..7b265561
--- /dev/null
+++ b/test/os_dep/linux/test_env.c
@@ -0,0 +1,10 @@
+#include<stdlib.h>
+#include<stdio.h>
+
+int main(int argc, char** argv, char** envp)
+{
+	printf("argc %d\n", argc);
+	printf("argv[0] %s\n", argv[0]);
+	printf("argv[1] %s\n", argv[1]);
+	printf("envp[0] %s\n", envp[0]);
+}