about summary refs log tree commit diff stats
path: root/test/os_dep/linux/test_env.c
blob: 7b265561210711d5f0cfeb2fb4741cfcc167f50c (plain) (blame)
1
2
3
4
5
6
7
8
9
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]);
}