diff options
| author | serpilliere <serpilliere@users.noreply.github.com> | 2017-04-06 14:36:01 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-04-06 14:36:01 +0200 |
| commit | 049abdc867f533ba270cbdfff839caefb9b162b9 (patch) | |
| tree | 419067643408bed0acc81529791f714150ddf644 /test/os_dep/linux/test_env.c | |
| parent | b1ed94019554b25d4d8924594f8868318e8a8c4a (diff) | |
| parent | b535f6e26e354ca61307f8153b862385ba9d2a04 (diff) | |
| download | miasm-049abdc867f533ba270cbdfff839caefb9b162b9.tar.gz miasm-049abdc867f533ba270cbdfff839caefb9b162b9.zip | |
Merge pull request #515 from commial/feature/calling-conv-systemv
Feature/calling conv systemv
Diffstat (limited to 'test/os_dep/linux/test_env.c')
| -rw-r--r-- | test/os_dep/linux/test_env.c | 10 |
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]); +} |